Synced libgit2 with upstream