Great! You just created a new branch.

The master and fencing branches are identical: they share the same exact commit history. You can switch to the new branch with

git checkout branch_name

Here, branch_name is the name of the branch. If the branch’s name is skill

git checkout skill

Once you switch branches, you will now be able to make commits on the branch that have no impact on master.

You can continue your workflow, while master stays intact!



Switch to the fencing branch from the master branch.


Use git branch to verify that you have switched branches.

In the output, notice the * is now over the fencing branch.

Take this course for free

Mini Info Outline Icon
By signing up for Codecademy, you agree to Codecademy's Terms of Service & Privacy Policy.

Or sign up using:

Already have an account?