正解は `git branch <branch-name>` です。作成と同時に切り替えるには `git checkout -b <branch-name>` や `git switch -c <branch-name>` を使います。
教科書へ直接移動
読みたい分野を選べます