git switch (modern) or git checkout (traditional) is used to move between branches.
bash
# Switch to the 'new-feature' branch
git switch new-feature
# To create and switch to a new branch at the same time
git switch -c another-featureYou should see
Switched to branch 'new-feature'