libgit2/git2go — pull request #55 by lye (2014-02-20 06:29:39+00:00)
Title: Add Is$Type methods to Reference.

This patch adds the following methods to Reference:

IsBranch() bool
IsRemote() bool
IsTag() bool

which correspond to the `git_reference_is_$type` functions in libgit2.