use elasticgit instead of pygit2