refs: add git_reference_is_tag
Merge pull request #1810 from nvloff/reference_is_tag

refs: add git_reference_is_tag