github go to a branch

C++
$ git checkout <existing_branch>

$ git checkout -b <new_branch>git checkout [branch name]git checkout <name> $ git branch
Source

Also in C++: