public static boolean isTag(final GitReference ref) {
        return ref != null && isTag(ref.ref());
    }
Is reference a tag?

@param ref
@return true if tag, false otherwise
app/src/main/java/com/github/pockethub/android/core/ref/RefUtils.java