git switch to tag code example
Example 1: git tag checkout
$ git checkout tags/v1.0 -b v1.0-branch
Switched to a new branch 'v1.0-branch'
Example 2: git choose tag
git checkout tags/1.1.4
$ git checkout tags/v1.0 -b v1.0-branch
Switched to a new branch 'v1.0-branch'
git checkout tags/1.1.4