Just to follow up on this, you need to install these:
openssl libssh2 libssl-dev pkg-config
Then you need to reinstall libgit2(rebuild), because the original shared libraries do not know that you've installed the new packages. See http://www.pygit2.org/install.html for installing.