I had a look in LibGit2Sharp and even if I'm wrong but it manage just the read of notes and not the creation :(