What is the most popular branching strategy in GIT?

There are many ways to do branching in GIT. One of the popular ways is to maintain two branches:

  • master: This branch is used for production. In this branch HEAD is always in production ready state.
  • develop: This branch is used for development. In this branch we store the latest code developed in project. This is work in progress code.Once the code is ready for deployment to production, it is merged into master branch from develop branch.

Leave a Reply

Your email address will not be published. Required fields are marked *