Premium lesson

The Gitflow Development Workflow

Git3 min readJan 1, 2025

Gitflow is a popular Git branching workflow designed to facilitate collaboration by streamlining the development process of software releases.

It involves the use of both permanent and temporary branches, and dictates how branches should be set up and merged.

It is generally used for projects with a scheduled release cycle and for the DevOps best practice of continuous delivery.

The main and develop branches

Gitflow uses two permanent branches:

  • The main branch, used for integrating official tagged releases.

  • The develop branch, derived from the main branch, used for integrating the work done on temporary feature branches.

The main difference between these two branches resides in the fact that the develop branch will contain the full history of the project, meaning all of the development commits, whereas the main branch will only contain a condensed version of it.

馃挕 Tip: The objective is to keep the main and develop branches as in sync as possible throughout the whole development lifecycle.

Workflow overview

Step 1: Initializing and connecting the repository

icon light bulb key

Unlock the Build CLI Apps in JavaScript & Node.js module

Learn how to build, integrate, and safeguard scalable CLI tools, scripts, and apps with JavaScript, Node.js, npm, and Git.

You get immediate access to:

  • 45 focused lessons across JavaScript, Node.js, npm, and Git
  • 17 real-world projects with commented solutions
  • Ongoing updates to this bundle
  • Lifetime access to this bundle
Unlock this module