A self-contained Git distribution packaged for Windows x64 .NET applications.
dotnet add package Soenneker.Libraries.Git.WindowsThe distribution is copied beneath the application output directory. Use the command entry point so Git can locate the bundled helper programs:
string git = Path.Combine(
AppContext.BaseDirectory,
"Resources", "win-x64", "git", "cmd", "git.exe");Pass each Git argument through ProcessStartInfo.ArgumentList, especially repository paths, refs, and commit messages derived from input. Set the working directory explicitly when a command should operate on a particular repository.
This package contains Windows x64 assets and does not provide a managed Git API or select binaries for other platforms.