One of the 100 questions in this topic
How much do you know about Git and Version Control?The git branch command followed by the branch name is used to create a new branch. However, this only creates the branch and does not switch to it. To create and switch in one step, you use git checkout -b branch-name.