git swithc to branch code example
Example 1: how to switch to another branch in git
Github branch
pull request in branch
Example 2: sitch a branch command line
$ git switch <existing_branch>
$ git switch -c <non_existing_branch>
Github branch
pull request in branch
$ git switch <existing_branch>
$ git switch -c <non_existing_branch>