GitCommand fixed for tests