libgit2 0.28.0 has significant bug fixes and improvements:
https://github.com/libgit2/libgit2/releases/tag/v0.28.0