Trying to tidy up GitRepository