

0 / 2 embers
0 / 3000 xp
click for more info
Complete a lesson to start your streak
click for more info
Difficulty: 3
click for more info
Not enough gems
Cost: 6 gems
1: What Is a Branch?
incomplete
2: Default Branch
incomplete
3: Visualizing Branches
incomplete
4: New Branch
incomplete
5: Switching Branches
incomplete
6: Upleveling Our Abilities
incomplete
7: Log Flags
incomplete
8: Git Files
incomplete
This lesson's interactive features are locked, please to keep using them
We talked about using git switch to change branches. There's another command that you'll certainly run into because it's been around for a long time and older developers are used to it: git checkout. git switch is a newer command that is meant to be more intuitive and user-friendly. It's recommended to use git switch over git checkout for simply switching branches.
To switch to a branch called prime:
git switch prime
# or, the old way:
git checkout prime
For this course, we will stick to git switch.
Run and submit the CLI tests.