git tag

Create, list, delete or verify tags. A tag is a static reference to a commit. More information: https://git-scm.com/docs/git-tag.

git tag

git tag tag_name

git tag tag_name commit

git tag tag_name -m tag_message

git tag -d tag_name

git fetch --tags

git tag --contains commit