Bindings to libgit2 for interoperating with git repositories, both threadsafe and memory safe.
# Cargo.toml
[dependencies]
git2 = "0.21.0"No compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Open the current directory as a git repository and print its path.
Install libgit2-dev (Linux) or use vendored feature: `git2 = { version = "0.21", features = ["vendored"] }`.No dependency data recorded yet.