Revert "Revert "Use native git implementations within GitAPITestCase""

This reverts commit 6719d9d8e479e63defc9e672eb7b8020ebef8bcc.