Revert "Removed the version specifier on pygit2 because even small version differences cause incompatibilities"

This reverts commit cee5106cc585e2e83a01e00433c9c3cb4ca8aa37.