```bash git switch -c <new_branch_name> # v2.23以前 git checkout -b <new_branch_name> ```