Reading Time: 2 minutes Like most Version Control Systems, Git has the ability to tag specific points in a repository’s history as important. Generally, people use this feature to mark version points (v1.0, v2.0, etc.). In this blog, you will learn about git tagging, how to list existing tags, how we can create and delete tags, and the different types of tags. Listing of tags Creating tags Git supports two types of tags: lightweight tags and annotated tags. They both allow you to reference a specific commit in your repository, but they differ in the amount of metadata they can store. Annotated tags Annotated tags store additional metadata as complete objects in the Git database, such as author name, release notes, tag message, and date. git tag -a rel-5.2.1 -m “first tag of 5.2 release” The – m Specifies the tag message, to be stored with the tag. If you don’t specify a message for an annotated tag, Git launches your editor so you can enter it.If you execute the git show command you can see all the tag-related data. Lightweight tags Lightweight tags are the easiest way to add tags to a git repository, as they only store the hash of the commit they refer to. They are created without the -a, -s, or -m options, * containing no additional information. You can create a new lightweight tag by executing the below command- Continue Reading