create tag from branch code example
Example 1: git create tag and push
git tag -a v1.4 -m "my version 1.4"
Example 2: git create branch from tag
git checkout -b newbranch v1.0
Example 3: git add tag
git tag -a v1.2
git push origin v1.2
git tag -a v1.4 -m "my version 1.4"
git checkout -b newbranch v1.0
git tag -a v1.2
git push origin v1.2