git checkout to master make changes add to new branch code example
Example 1: git branch and checkout at the same time
$ git checkout -b <branch_name>
Example 2: "git checkout -b" example
$ git checkout -b new-branch --track origin/develop
$ git checkout -b <branch_name>
$ git checkout -b new-branch --track origin/develop