Git: branches

  • Branches - independent set of commits
  • So far all commits are on the master branch
  • Branch can be an abstraction for a line of development
    • master is the stable, tested version of the project
    • develop is the place where features come together
    • feature is the branch for a single feature

A branch can be temporary:

  • To have a change request
  • To develop an independent feature

Git branches

  • Create branches or switch between them with git branch