do away with libgit2
fix tests