Revert "Use native git implementations within GitAPITestCase"

This reverts commit 038dd55db0d4fbbb0c19bce321791f9ddb591d06.