Deal with .git* files in inspect, and remove some redundant checks.

Since visit_predicate is only used for directories, and in a modular check out `.git` can be a file, inspect is complaining that `.git` starts with an unacceptable character. It's also complaining about `.gitattributes`, so I made it allow anything that start with `.git`.

Also remove some checks that don't do anything, so they probably could give the misleading idea that `.htaccess` and `.DS_Store` files are ignored.