Git Switch vs Checkout
git switch
exists to clarify git checkout
.
shell
# Create and switch to a new branch
git checkout -b my/new-branch
# This will do the exact same thing, but maybe it looks better to you?
git switch --create my/new-branch # -c is shorthand for --create