how to change the branch of a version tag in github code example
Example: git tag checkout
$ git checkout tags/v1.0 -b v1.0-branch
Switched to a new branch 'v1.0-branch'
$ git checkout tags/v1.0 -b v1.0-branch
Switched to a new branch 'v1.0-branch'