Git Branches

Branching

Working with branches allows you to diverge from the master branch of development.

Working on a branch separate from the master branch provides many benefits. One of which is to create, read, update, and delete content without breaking anything on the master branch.

In the Git Branches walkthrough you will be doing the following:

  • Creating new branches with git branch
  • Changing branches with git checkout
  • Fixing existing bugs
    • staging changes with git add and git commit
  • Pushing changes to remote repositories with git push
Note

The walkthrough articles in this section will be using the py-demo-web-logs repository you cloned in the Review: Basic Git Workflow .