Use an environment variable rather than a tilde for the home directory in the gitconfig

Homebrew was having problems with it