NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
NuGet
NuGet, #1345 most downloaded on NuGet
LibGit2Sharp brings all the might and speed of libgit2, a native Git implementation, to the managed world of .NET
Latest stable
0.32.0
Last release 4 months ago
24 Jul 2026
Release timing varies
gaps range from 2 weeks to 1.7 years
Nearly every release is documented
notes for 49 of 50 stable releases
Nothing withdrawn
no release was ever pulled
16 years old
96 releases · first in 2011
Drag across the ruler to compare, or tap a release to open it.
This is a security release that includes libgit2 v1.8.6. All users are encouraged to upgrade.
This is a security release that includes libgit2 v1.8.6. All users are encouraged to upgrade.
This release includes libgit2 v1.8.4 .
net472 and net8.0.Your coding agent can read these notes before it upgrades. Set up the MCP server →
This release includes libgit2 v1.7.2.
See PR for details, including some breaking changes to CloneOptions and SubmoduleUpdateOptions
CloneOptions and SubmoduleUpdateOptionsAdd CustomHeaders to PushOptions #2052
This release includes libgit2 v1.6.4.
AssemblyVersion of v0.27.0 is 0.0.0.0, which is lower than the AssemblyVersion of the v0.26.x releases. #2030
0.0.0.0, which is lower than the AssemblyVersion of the v0.26.x releases. #2030LibGit2Sharp now targets .NET Framework 4.7.2 and .NET 6.
GlobalSetings.NativeLibraryPath used to automatically append architecture to the path when running on .NET Framework. This behavior has been removed to make it consistent. #1918Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
This is a security release that includes updates for several CVEs reported to the Git project, including CVE-2019-1348, CVE-2019-1349, CVE-2019-1350,…
This is a security release that includes updates for several CVEs reported to the Git project, including CVE-2019-1348, CVE-2019-1349, CVE-2019-1350, CVE-2019-1351, CVE-2019-1352, CVE-2019-1353, CVE-2019-1354, and CVE-2019-1357.
This release includes libgit2 v0.28.4.
This is a security and bugfix release that fixes minor possible security issues, including validation that the ProgramData configuration area is owned
This is a security and bugfix release that fixes minor possible security issues, including validation that the ProgramData configuration area is owned by an administrator or the current user, and handling commit objects with a large number of parents.
This release includes libgit2 v0.28.3.
Add CherryPickCommitIntoIndex to ObjectDatabase
CherryPickCommitIntoIndex to ObjectDatabaseIndentHeuristic option to CompareOptionsThis is a prerelease for the forthcoming LibGit2Sharp v0.26.0, based on libgit2 v0.28.0.
This is a prerelease for the forthcoming LibGit2Sharp v0.26.0, based on libgit2 v0.28.0.
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
This is a security and bugfix release that fixes a number of minor possible security issues, including possible errors during the parsing of commit an
This is a security and bugfix release that fixes a number of minor possible security issues, including possible errors during the parsing of commit and tag information. In addition, a number of performance improvements and bugfixes are included in the underlying native library.
This release includes libgit2 v0.27.7.
This is a security release fixing a number of possible security issues, including hardening validation for submodule validation to help protect agains…
This is a security release fixing a number of possible security issues, including hardening validation for submodule validation to help protect against CVE 2018-17456, and a number of possible errors found by fuzzing the libgit2 native library.
This release includes libgit2 v0.27.5.
This release includes all the changes from the previous v0.25.1 release, and correctly updates the version number to v0.25.2.
This release includes all the changes from the previous v0.25.1 release, and correctly updates the version number to v0.25.2.
The prior release, v0.25.1, would incorrectly claim that it was an v0.25.0 prerelease when queried for its version. v0.25.1 was not available as a NuGet package for this reason.
There are no changes from v0.25.1 other than the version number update.
LibGit2Sharp is now .NET Core 2.0+ and .NET Framework compatible.
LibGit2Sharp is now .NET Core 2.0+ and .NET Framework compatible.
GitObject now has a Peel method that will let you peel (for example)
a Tag to a Tree.MergeOptions now includes an option to IgnoreWhitespaceChanges.TreeDefinition can now Add an object with only the ID, which allows
users of large files to add entries without realizing a Blob.ObjectDatabase can now Write a Stream, which allows users of
large files to stream an object into storage without loading it into
memory.ObjectDatabase can now MergeCommitsIntoIndex allowing users to perform
an in-memory merge that produces an Index structure with conflicts.GlobalSettings.SetEnableStrictObjectCreationofs_delta support with
GlobalSettings.SetEnableOfsDeltaStatusOptions.IncludeUntracked and/or
the StatusOptions.RecurseUntrackedDirs options.StatusOptions.IncludeIgnored option.Commands.Pull can now provide a null value for PullOptions,
which indicates that default values should be used.Notes collection from a Repository no longer throws an
exception when the repository has no notes.Nothing published for this version
Nothing published for this version
Nothing published for this version
This is a security release fixing two issues. It updates libgit2's included zlib to 1.2.11, and includes a libgit2 fix for memory handling issues when…
This is a security release fixing two issues. It updates libgit2's included zlib to 1.2.11, and includes a libgit2 fix for memory handling issues when reading crafted repository index files.
This is the last release before a moving to .NET Core compatible library.
This is the last release before a moving to .NET Core compatible library.
It will be the last supported release with the prior architecture; as a result, this release is primarily bugfixes and does not include major new APIs.
Nothing published for this version
This is a security release fixing two issues. The first one performs extra sanitization for some edge cases in the Git Smart Protocol which can lead t…
This is a security release fixing two issues. The first one performs extra sanitization for some edge cases in the Git Smart Protocol which can lead to attempting to parse outside of the buffer.
The second fix affects the certificate check callback. It provides a valid parameter to indicate whether the native cryptographic library considered the certificate to be correct. This parameter is always 1/true before this fix leading to a possible MITM.
This does not affect you if you do not use the custom certificate callback or if you do not take this value into account.
A list of commits since the last release follows
82d621c Merge pull request #1402 from libgit2/ethomson/0_23_1
097036d Update change log for 0.23.1
7f259c8 Update version number to 0.23.1
595938e Update LibGit2Sharp.NativeBinaries to 1.0.164
Deprecate the config paths in RepositoryOptions
CherryPickCommit and RevertCommit to ObjectDatabase.IncludeIgnored field to SatusOptions.Commit.CreateBuffer to write a commit object to a buffer and
ObjectDatabase.CreateCommitWithSignature to create commits which include a
signature.Commit.ExtractSignature to get a commit's signature.ObjectDatabase.Write<T> to write arbitrary objects to the object db.Commit.PrettifyMessagelib directory,
instead of NativeBinaries for improved mono compatibility. In
addition, the names of platform architectures now better reflect
the vendor naming (eg, x86_64 instead of amd64 on Linux).QueryBy overload with FollowFilter.Branch.Remote in favour of Branch.RemoteNameRemote no longer implement the equality operator.Remote.Update takes a remote name instead of an instance.Fetch, Pull, Move, Remove, Stage are now in a commands namespace to
indicate what they represent.Nothing published for this version
Nothing published for this version
Nothing published for this version
This is a security release fixing two issues. The first one performs extra sanitization for some edge cases in the Git Smart Protocol which can lead t…
This is a security release fixing two issues. The first one performs extra sanitization for some edge cases in the Git Smart Protocol which can lead to attempting to parse outside of the buffer.
The second fix affects the certificate check callback. It provides a valid parameter to indicate whether the native cryptographic library considered the certificate to be correct. This parameter is always 1/true before this fix leading to a possible MITM.
This does not affect you if you do not use the custom certificate callback or if you do not take this value into account.
A list of commits since the last release follows
6edb028 Update changelog for 0.22.1
8c1ba0b Update version to 0.22
ec52bb5 Update to libgit2 921e3a6
Deprecate MergeConflictException in a backwards-compatible way
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
One column per quarter.