Use libgit2 more often