So far, in .NET-based applications, I've used LibGit2Sharp to clone Git repositories and read their files. That often works, but the native dependencies of such a solution have caused many problems.
It's also a standalone portable EXE file of around 1 MB in size with zero dependencies. Just launch CozyGit.exe and it will ask you for a directory to use as the local workspace. Alternatively you can ...