To add a tag to an older commit, you can use the following command:

git tag -a {{ Tag Name }} {{ Commit Hash }} -m "Message here"

For example, if you wanted to add a tag to the commit with the hash a1b2c3d4, you would use the following command:

git tag -a v1.0 a1b2c3d4 -m "Version 1.0"

This will add a tag called v1.0 to the commit with the hash a1b2c3d4, and the message “Version 1.0” will be associated with the tag.

You can then push the tag to your remote repository using the following command:

git push origin {{ Tag Name }}