Skip to content
@libgit2

libgit2

A portable, pure C implementation of the Git core methods provided as a re-entrant linkable library with a solid API.

libgit2

libgit2 is a portable, pure C implementation of the Git core methods provided as a linkable library with a solid API, allowing to build Git functionality into your application. Language bindings like Rugged (Ruby), LibGit2Sharp (.NET), pygit2 (Python) and NodeGit (Node) allow you to build Git tooling in your favorite language.

libgit2 is used to power Git GUI clients like GitKraken and gmaster and on Git hosting providers like GitHub, GitLab and Azure DevOps. We perform the merge every time you click "merge pull request".

libgit2 is licensed under a very permissive license (GPLv2 with a special Linking Exception). This basically means that you can link it (unmodified) with any kind of software without having to release its source code. Additionally, the example code has been released to the public domain (see the separate license for more information).

Pinned Loading

  1. libgit2 libgit2 Public

    A cross-platform, linkable library implementation of Git that you can use in your application.

    C 9.7k 2.4k

  2. rugged rugged Public

    ruby bindings to libgit2

    C 2.3k 277

  3. libgit2sharp libgit2sharp Public

    Git + .NET = ❤

    C# 3.2k 890

Repositories

Showing 10 of 27 repositories
  • benchmarks Public
    libgit2/benchmarks’s past year of commit activity
    JavaScript 1 1 0 0 Updated Dec 12, 2024
  • www.libgit2.org Public

    libgit2 website

    libgit2/www.libgit2.org’s past year of commit activity
    CSS 110 MIT 62 8 0 Updated Dec 11, 2024
  • libgit2 Public

    A cross-platform, linkable library implementation of Git that you can use in your application.

    libgit2/libgit2’s past year of commit activity
    C 9,733 2,417 357 83 Updated Dec 11, 2024
  • libgit2sharp Public

    Git + .NET = ❤

    libgit2/libgit2sharp’s past year of commit activity
    C# 3,223 MIT 890 380 40 Updated Dec 3, 2024
  • pygit2 Public

    Python bindings for libgit2

    libgit2/pygit2’s past year of commit activity
    Python 1,621 391 184 4 Updated Nov 29, 2024
  • www.libgit2.org-docs Public

    Generated reference documentation for libgit2

    libgit2/www.libgit2.org-docs’s past year of commit activity
    HTML 1 0 0 0 Updated Nov 25, 2024
  • libgit2/libgit2sharp.nativebinaries’s past year of commit activity
    PowerShell 30 MIT 63 10 1 Updated Nov 24, 2024
  • rugged Public

    ruby bindings to libgit2

    libgit2/rugged’s past year of commit activity
    C 2,251 MIT 277 99 18 Updated Nov 3, 2024
  • benchmark-resources Public

    Additional (large) resources for benchmarks

    libgit2/benchmark-resources’s past year of commit activity
    1 0 0 0 Updated Oct 29, 2024
  • luagit2 Public

    Lua bindings for libgit2

    libgit2/luagit2’s past year of commit activity
    C 166 MIT 27 1 0 Updated Oct 2, 2024