# How to Tag a Commit in Github

> To tag a commit in GitHub, navigate to your repository, create and commit a new file, then go to Tags and Releases. Click Draft a new release, choose a tag by typing a new one and creating it, add a release title, and publish the release to tag your newest commit.

Canonical: https://livedemo.ai/tutorials/how-to-tag-a-commit-in-github/
Apps: GitHub
Updated: 2026-10-05
Interactive demo: https://story-api.livedemo.ai/workspaces/62255d3d3304f17b8f5e2d03/stories/692a4f7aab56e05a00ffbc42/preview?step=1

## Steps

1. Navigate to your desired repository.
2. Click 'Add file'.
3. Select 'Create new file'.
4. Name your file and add your file content.
5. Click on the 'Commit changes' button.
6. Click 'Commit changes'.
7. After you have created your file, click on the 'Tags' button.
8. Select 'Releases'.
9. Click on the 'Draft a new release' button.
10. Click 'Choose a tag'.
11. Type your new tag in the tag field and click '+Create new tag'.
12. Create a release title.
13. Click on the 'Publish release' button.
14. That's it! You have successfully tagged a commit in Github. You just have to create a tag for the newest commit in your Github repository.
