Fix failing git tests