libgit2@1.8
« Back to VersTracker
Description:
C library of Git core methods that is re-entrant and linkable
Type: Formula  |  Latest Version: 1.8.5@0  |  Tracked Since: Dec 6, 2025
Links: Homepage  |  formulae.brew.sh
Category: Developer tools
Tags: git library c version-control vcs
Install: brew install libgit2@1.8
About:
libgit2 is a portable, pure C implementation of the Git core methods, providing a re-entrant and linkable API for applications. It allows developers to read from and write to Git repositories, work with object databases, and manipulate references without shelling out to the git binary. This makes it ideal for embedding Git functionality directly into native applications.
Key Features:
  • Pure C implementation, linkable as a library
  • Re-entrant and thread-safe API
  • Cross-platform support (Linux, macOS, Windows, BSD)
  • No dependency on a Git binary
Use Cases:
  • Building Git functionality into native desktop applications
  • Automating repository management in server-side tools
  • Implementing Git operations in embedded systems or constrained environments
Alternatives:
  • git – The standard command-line tool; libgit2 provides an API to perform these operations programmatically without spawning a process.
  • go-git – A Go-native implementation; libgit2 is the C library used by bindings in many other languages.
Version History
Detected Version Rev Change Commit
Dec 6, 2025 9:50am 0 VERSION_BUMP cd578f1f
Sep 10, 2025 5:51pm 0 VERSION_BUMP 5dfba816