On windows 7, in a locked down corporate environment, my .gitconfig file does not seem to be used. This is probably because the HOMEDRIVE is set to H:. I cannot change it.
When I press the commit button, I am prompted for Name and Email even though that is already in my .gitconfig file.
The path to the .gitconfig file is:
H:.gitconfig
Environment:
HOMEDRIVE: H:
HOMEPATH: \