Bash
Public
Create and Switch Branch
Create a new Git branch and switch to it in one command.
#git
#branch
#workflow
#beginner
Bash
git switch -c feature/login-page
Notes
Older tutorials may use git checkout -b. The newer git switch command is clearer.