正解は `git checkout -b <new-branch>` です。Git 2.23以降では `git switch -c <new-branch>` も推奨されています。
教科書へ直接移動
読みたい分野を選べます