`git branch <branch name> && git switch <branch name>`
or
`git switch -c <branch name>` (create and switch)
Reply on news.ycombinator.com