test for .git dir with -d not -e; more portable
-rw-r--r-- 26 .gitignore
drwxr-xr-x - configs
drwxr-xr-x - doc
drwxr-xr-x - release-process
drwxr-xr-x - src
drwxr-xr-x - test