Update libgit2

Some important fixes have gone in upstream:

* libgit2/libgit2#2581
* libgit2/libgit2#2584

```git_remote_check_cert``` has also been removed. It now requires a callback (will do in a new PR).