WIP Update libgit2 to e59e712

https://github.com/libgit2/libgit2/compare/b362fbf...e59e712
Revert commit ordering fixup in tests