git checkout options 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 checkout
git checkout -b origin/branch-name
git checkout -b branch-name
Example 3: "git checkout -b" example
$ git checkout -b new-branch --track origin/develop