Lookup a tag object from the repository, given a prefix of its identifier (short id).
pointer to the looked up tag
the repo to use when locating the tag.
identity of the tag to locate.
the length of the short identifier
GIT_SUCCESS or an error code