use libgit2-backed GitRepository in OpenGitRepository