how to git the branches in github useing terminal code example Example: how to add a branch to a a git repo cli # Create new local branch git checkout -b <new-branch>