tag a branch in github code example
Example 1: git create tag and push
git tag -a v1.4 -m "my version 1.4"
Example 2: git tag checkout
$ git checkout tags/v1.0 -b v1.0-branch
Switched to a new branch 'v1.0-branch'
git tag -a v1.4 -m "my version 1.4"
$ git checkout tags/v1.0 -b v1.0-branch
Switched to a new branch 'v1.0-branch'