terminal branch out to another branch code example Example: create and go to branch git checkout -b <branch_name>