Determine if HEAD points to the given branch
@param branch A reference to a local branch.
@return 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
@param branch A reference to a local branch.
@return 1 if HEAD points at the branch, 0 if it isn't, or a negative value as an error code.