git branch changes code example
Example 1: create branch in git
# Create New Branch And Switch To It
$ git checkout -b myBranchName
Example 2: git switch branch
git switch <branch_name>
git checkout <branch_name>
Example 3: how to create a branch in git
$ git branch [name of branch]