All cards

Card #014 · Branch

Switching branches when creating a new branch

#014: Switching branches when creating a new branch. git checkout -b name. git checkout: command to switch branches. -b: flag to create the branch. name: name of the new branch.