do you have this in your global git config?

```
[core]
  excludesfile = ~/.gitignore
```