Determine if HEAD points to the given branch
A reference to a local branch.
1 if HEAD points at the branch, 0 if it isn't, or a negative value as an error code.
See Implementation
Determine if HEAD points to the given branch