Git Tags: Everything You Need to know
A git tag is a marker for a specific point in time for your repository. Well, although I say a "specific point in time", they are really just a reference to a commit. These tags are stored as files inside of the refs folder within the .git folder that is a part of every git repository.
Source: Git Tags: Everything You Need to know, an article by Alan Solitar.