Create new console project
dotnet new console
Execute the current project:
dotnet run
Add library LibGit2Sharp:
dotnet add package LibGit2Sharp --version 0.26.1
Build for Windows (or other environment):
dotnet build --runtime win-x64