checkout branch from git tag code example
Example 1: git checkout tag
$ git checkout tags/<tag_name> -b <branch_name>
Example 2: git tag checkout
$ git checkout tags/v1.0 -b v1.0-branch
Switched to a new branch 'v1.0-branch'
$ git checkout tags/<tag_name> -b <branch_name>
$ git checkout tags/v1.0 -b v1.0-branch
Switched to a new branch 'v1.0-branch'