Global .gitignore only worked in my Mac