A git tag is csak egy alias egy commitra.
https://git-scm.com/book/en/v2/Git-Branching-Branches-in-a-Nutshell
A branch in Git is simply a lightweight movable pointer to one of these commits.
https://git-scm.com/book/en/v2/Git-Basics-Tagging
Git supports two types of tags: lightweight and annotated.
A lightweight tag is very much like a branch that doesn’t change — it’s just a pointer to a specific commit.