Add debugging try-catch to GitTest.