Remove libgit2 dependency