One of the 100 questions in this topic
How much do you know about Git and Version Control?The git checkout command followed by the branch name is used to switch between branches. In newer versions of Git, you can also use git switch as a more intuitive alternative designed specifically for switching branches.