create branch from another git code example
Example 1: create and go to branch
git checkout -b <branch_name>
Example 2: git new branch create
git checkout -b <new-branch>
git checkout -b <branch_name>
git checkout -b <new-branch>