Remove pygit2 backend

Hopefully this is only temporary, but in order to implement open(), we
need more complicated merging than pygit2 easily supports.
Revert "Remove pygit2 backend"

This reverts commit 156dcac25c0f52f2d117c78b9c30a1310733e4cc.