4.2 Creating & Switching Branches
Fundamentals of Git
Branching & Merging
In the last lesson, we learned that branches enable different versions of our code to be cleanly separated. This functionality is critical of many Git workflows because it allows features to be developed in parallel. Each time you want to diverge and create a new development track, you create a new branch. In this lesson we'll learn the actual commands to create and switch between branches.