Make sure we only ignore .git directories
Add global .gitignore file
Ignore dotfiles in the repository itself