I ran a global configuration command in git to exclude certain files using a .gitignore_global file:
git config --global core.excludesfile ~/.gitignore_globa
git config information will stored in ~/.gitconfig in unix platform.
~/.gitconfig
In Windows it will be stored in C:/users//.gitconfig.
C:/users//.gitconfig.
You can edit it manually by opening this files and deleting the fields which you are interested.