One of the 100 questions in this topic
The git checkout <branch_name> command is used to switch between different branches.