Word. You can just pass `GIT_OBJ_TAG` as the last arg to `git_object_lookup`.