$ git checkout <existing_branch> $ git checkout -b <new_branch>
$ git branch
$ git switch <existing_branch> $ git switch -c <non_existing_branch>