ブランチを切り替えるには? (switch)

$ git switch [ブランチ名]

Command
git
Description
checkout の代替として導入された、ブランチ切り替え専用のコマンドです。
Deep Dive
新規作成して切り替える場合は `git switch -c [ブランチ名]` (Create) です。