1 - Basics


libgit2 ( is a portable, pure C implementation of the Git core methods.

Contents overview



libgit2 is distributed in source form only. Distributions can be obtained from the download page at Build instructions can be found at

The build system is based on CMake CMake[1], a cross-platform, open-source build system. If you are not familiar with CMake don't worry: to build libgit2 you don't need to know much. Just install CMake and follow the build instructions. However if you want to know more about CMake we provide a CMake tutorial.


  1. Boost.Date_Time: official documentation (