Rename GitRepo().patch() to GitRepo().get_patch()
Simplify the logic in GitRepo().patch() by relying on GitRepo().diff()