Determine if the current branch is checked out in any linked repository.
Reference to the branch.
1 if branch is checked out, 0 if it isn't, error code otherwise.