libgit2/libgit2sharp — comment on commit 54096d525ce820deaf36180f13ed9a61735e8e3f
File: LibGit2Sharp/Branch.cs line 62
By Haacked:

This is throwing a `NullReferenceException` in the case when you create a brand new repository. Basically "git init ." and then check this property on the master branch.