how to come out from branch in git code example
Example 1: git command to create a branch from another branch
$ git checkout -b myfeature dev
Example 2: "git checkout -b" example
$ git checkout -b new-branch --track origin/develop
$ git checkout -b myfeature dev
$ git checkout -b new-branch --track origin/develop