Use native git implementations within GitAPITestCase

May increase test coverage, should improve the use and reuse of code
within the test.