git branch chockout code example
Example 1: git create new branch from current
git checkout -b topic/newbranch
Example 2: canging branch in git
$ git checkout feature
git checkout -b topic/newbranch
$ git checkout feature