git tag to branch code example
Example 1: git create branch from tag
git checkout -b newbranch v1.0
Example 2: git add tag
git tag -a v1.2
git push origin v1.2
Example 3: git tag a previous commit
git tag -a v1.2 9fceb02 -m "Message here"
git checkout -b newbranch v1.0
git tag -a v1.2
git push origin v1.2
git tag -a v1.2 9fceb02 -m "Message here"