Add gitconfig to temporary home directory.

Builds have been failing on Travis CI because of the temporary home directory: there was no gitconfig, and therefore no `user.name` or `user.email` settings, which prevent commits from being created under some Git versions.