How to switch branches

$ git switch [branch]

Command
git
Description
Switch to a specified branch. Newer alternative to checkout.