Add InitNewRepository() test helper
Create a new repo.Checkout() overload which accepts a Commit object