Git Tag
A tag is a name that points to one commit and never moves. Tags are mostly used to mark releases, like v1.0.
A lightweight tag is just the name. An annotated tag (-a) also stores a message, the tagger and the date. Tags are not pushed by default: use git push origin v1.0 or git push --tags.
Create tags
git tag v1.0
git tag -a v1.1 -m "Version 1.1"
List tags
git tag
v1.0
v1.1
git log --oneline -1
72df4ee (HEAD -> main, tag: v1.1, tag: v1.0) Merge branch 'new-feature'