Using an NGit version from a couple months ago.
I would get this exception:
The error is the one documented here: https://github.com/mono/ngit/issues/14
After forking the repo and building it locally in VS 2010, I run the UnitTests (note: only one of 2284 tests failed after a couple retries (there were about 20 that failed on fist execution, but passed to individual retest)):
I then added the compiled assemblies to TeamMentor, and now this script:
Executed on the O2 Platform Browser-based C# REPL:
Creates the local repository on a local folder.
NOTE: For reference here is how to write that reflection script using the O2 API;s