I'm no Git master, but from searching around the solution that worked easiest for me was to just go to C:\Program Files (x86)\Git\etc
and open profile
in a text editor.
There's an if
statement on line 37 # Set up USER's home directory
. I took out the if
statement and put in the local directory that I wanted the gitconfig to be, then I just copied my existing gitconfig file (was on a network drive) to that location.