К сожалению, я очень быстро получил исключение System.EntryPointNotFoundException из "NativeMethods".
Вот мой упрощенный код отладки:
Код: Выделить всё
string workingdir = @"D:\\repo";
string pullurl = "";
Repository.Clone(pullurl, workingdir); //
Подробнее здесь: [url]https://stackoverflow.com/questions/79162242/libgit2sharp-core-nativemethods-innerexception-threw-an-exception-of-type-sy[/url]