On this page:
Libgit2:   Bindings for the libgit2 git library
7.7

Libgit2: Bindings for the libgit2 git library

 (require libgit2) package: libgit2
libgit2 is a portable, pure C implementation of the Git core methods provided as a re-entrant linkable library with a solid API, allowing you to write native speed custom Git applications in any language which supports C bindings.