git checkout -> git switch/restore
よく使うものの移行
git checkout
->
git switch
git checkout -b
->
git switch -c
git checkout .
->
git restore .
git checkout <hash or branch>
->
git restore --source <hash or branch>
https://blog.inductor.me/entry/git-checkout-deprecation?amp=1