change branch github in terminal code example
Example 1: sitch a branch command line
$ git checkout <existing_branch>
$ git checkout -b <new_branch>
Example 2: how to switch to another branch in git
Github branch
pull request in branch
$ git checkout <existing_branch>
$ git checkout -b <new_branch>
Github branch
pull request in branch