.gitconfig holds all your git configuration for your machine. On each repository, there is a .git folder, and inside it, you can find a config file, which holds information for this particular repo.
I recommend, under Windows, to use msysgit, a improved cmd line tool to work with Git.