chore(CI): include git config in .travis.yml

The tests that involve performing git commits were failing on Travis CI.
This is due to the lack of git configuration. The solution is to
configure the git user on Travis CI before running the tests.