Topic: Git Basics

Switch branches – Git

Preview

To switch branches in Git, enter the following command in your terminal:

git checkout branch-name

To view this and the other 250+ tutorials on Simple Dev, sign up for a 10-day free trial.