Tags in Git are a way to bookmark specific commits. This is often done to indicate different versions or releases of a project. To list the tags you have previously created in the current repository use:
For repositories with many tags it may be useful to find tags by name. This is possible with Git using globbing and the
-l option. For example,
git tag -l "v-1*" will list all the tags starting with “v-1”.