Check if a reference is a tag
A git reference
1 when the reference lives in the refs/tags namespace; 0 otherwise.