Update to the latest libgit2 changes