Set $HOME when testing git so that it's not messing with local settings
Improve git test by using the test repo
Merge pull request #486 from github/set_home_for_test_repo

Set $HOME in tests which point to a different .gitconfig