Ross ROSS = Recommend OSS · open-source software intelligence for agents

libgit2

A cross-platform, linkable library implementation of Git that you can use in your application. observed · 2026-08-28

github.com/libgit2/libgit2 · homepage · C · NOASSERTION (other) observed · 2026-08-28

Health v2 · maintenance only

98/100

  • Activity 97
  • Release rhythm 97
  • Longevity 100

Flags: no_license

How is this computed?

round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.

  • gap_med: 17
  • age_days: 5836
  • days_rel: 20
  • days_push: 18
  • n_releases_24m: 14

Full methodology

Adoption not part of the score

10575 stars · 2643 forks observed · 2026-08-28

What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded

libgit2 is a portable, pure C implementation of Git's core methods provided as a re-entrant linkable library with a solid API. It can be embedded directly in applications or accessed from many languages through official bindings such as pygit2, Rugged, LibGit2Sharp, git2go, and objective-git.

Use cases

  • embed git functionality in my application without shelling out to the git binary
  • read and write git repositories from python
  • build a gui git client
  • implement git hosting or forge features programmatically
  • manipulate commits, branches, and diffs from .net or ruby
  • clone and inspect repositories programmatically

When to choose

  • you need git operations embedded in a C, C++, or bound-language application
  • you want a permissive license (GPLv2 with linking exception) for proprietary software
  • you need cross-platform git support on Linux, macOS, iOS, or Windows
  • spawning the git CLI is undesirable or unavailable in your environment

When to avoid

  • you just need a command-line git tool for everyday use
  • you want a high-level scripting tool rather than a library to link against
  • you need the absolute latest git features immediately, as libgit2 can lag the git CLI

Facets

library · maturity stable

version-control sdk developer-tools version-control developer-tools cross-platform windows cross-platform c git dvcs c-library ffi-bindings linkable-library linux macos ios

4 sources

Member repositories

For agents

markdown · JSON · MCP: product_card(name="libgit2/libgit2")

Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem