ignore .git and .gitignore when listing files