Use gitconfig file rather than git commands in profile.

*Turns out* it will just make a really large file.