SlideShare a Scribd company logo
10
Most read
12
Most read
16
Most read
Git Branch Workflow
Practices
● Centralized Workflow
● Feature Branch Workflow
● Gitflow Workflow
Practices
● Centralized Workflow
● Feature Branch Workflow
● Gitflow Workflow
Centralized Workflow
● One master branch (or, trunk)
● Local repo v.s. Central repo
master
Feature-1

Feature-2
Practices
● Centralized Workflow
● Feature Branch Workflow
● Gitflow Workflow
Feature Branch Workflow
● Separate branches for feature development
● Merge back to master when feature ready
Feature-1
“merge”
master
“merge”
Feature-2
Practices
● Centralized Workflow
● Feature Branch Workflow
● Gitflow Workflow
Gitflow Workflow
● Designed for use with Git
○ with the power of branching

● Covers feature isolation, release control, and
sustainability.
Branches
●
●
●
●
●

Master Branch
Development Branch
Feature Branch (or “Topic” Branch)
Release Branch
Hotfix Branch (or “Maintenance” Branch)
Master Branch

Master

Dev. Branch
Feature Branch
Release Branch

● Stable
● HEAD is in production-ready state
master

v1.2

v1.2.1

v1.3

Hotfix Branch
Master Branch

Development Branch

Dev. Branch
Feature Branch
Release Branch

● Master -fork-> Development Branch
● Work in progress on ‘next release’
master

development

Hotfix Branch
Master Branch

Feature Branch (1/2)

Dev. Branch
Feature Branch
Release Branch

● Development -fork-> Feature
● Limited lifetime

Hotfix Branch

Feature-1
master

development

Feature-2
Master Branch

Feature Branch (2/2)

Dev. Branch
Feature Branch
Release Branch

● Feature -merge back-> Development

Hotfix Branch

Feature-1
master

“merge”

development
“merge”
Feature-2
Master Branch

Release Branch (1/3)

Dev. Branch
Feature Branch
Release Branch

● Development -fork-> Release
● Prepare for release
Release

Hotfix Branch

Feature-1
master

“merge”

development
“merge”
Feature-2
Master Branch

Release Branch (2/3)

Dev. Branch
Feature Branch
Release Branch

● Release -merge back-> Master
● Version tagging
Release

Hotfix Branch

Feature-1

“merge”
v1.2

master

“merge”

development
“merge”
Feature-2
Master Branch

Release Branch (3/3)

Dev. Branch
Feature Branch
Release Branch

● Release -merge back-> Development

Hotfix Branch

Release
Feature-1

“merge”
v1.2

master
“merge”
development
“merge”
Feature-2
Master Branch

Hotfix Branch (1/2)

Dev Branch
Feature Branch
Release Branch

● Master -fork→ Maintenance (by tag)

master

v1.2

hotifx-1.2

development

Hotfix Branch
Master Branch

Hotfix Branch (2/2)

Dev Branch
Feature Branch
Release Branch

● Master -fork→ Maintenance (by tag)

master

v1.2

v1.2.1
“merge”

hotifx-1.2
“merge”
development

Hotfix Branch
Read More
● Atlassian: Git Workflows
● Git Branching Model from @nvie
● Pro Git Book

More Related Content

What's hot (20)

PDF
Trunk-Based Development
Bryan Liu
 
PPTX
Git branching strategies
jstack
 
DOCX
Branching and merging strategy
Rahul Janghel
 
PDF
Anatomy of a Continuous Integration and Delivery (CICD) Pipeline
Robert McDermott
 
PDF
Feature Toggle
Bryan Liu
 
PDF
ArgoCD Meetup PPT final.pdf
amanmakwana3
 
PPTX
Meetup 23 - 03 - Application Delivery on K8S with GitOps
Vietnam Open Infrastructure User Group
 
PDF
Argocd up and running
Raphaël PINSON
 
PDF
Introduction to DevOps Tools | DevOps Training | DevOps Tutorial for Beginner...
Edureka!
 
PDF
Git Tutorial | Git Basics - Branching, Merging, Rebasing | Learn Git | DevOps...
Edureka!
 
PDF
DevOps Roadshow - continuous delivery and release management
Microsoft Developer Norway
 
PPTX
GitHub Basics - Derek Bable
"FENG "GEORGE"" YU
 
PDF
Hands-on Helm
Docker, Inc.
 
PDF
[네전따] 네트워크 엔지니어에게 쿠버네티스는 어떤 의미일까요
Jo Hoon
 
PDF
SRE Conference 2022 - How to Build a Healthy On-Call Culture
smalltown
 
PPTX
Introduction to microservices
Paulo Gandra de Sousa
 
PPTX
Red Hat Openshift Fundamentals.pptx
ssuser18b1c6
 
PPTX
Git basics to advance with diagrams
Dilum Navanjana
 
PDF
svn 능력자를 위한 git 개념 가이드
Insub Lee
 
PDF
Git Version Control System
KMS Technology
 
Trunk-Based Development
Bryan Liu
 
Git branching strategies
jstack
 
Branching and merging strategy
Rahul Janghel
 
Anatomy of a Continuous Integration and Delivery (CICD) Pipeline
Robert McDermott
 
Feature Toggle
Bryan Liu
 
ArgoCD Meetup PPT final.pdf
amanmakwana3
 
Meetup 23 - 03 - Application Delivery on K8S with GitOps
Vietnam Open Infrastructure User Group
 
Argocd up and running
Raphaël PINSON
 
Introduction to DevOps Tools | DevOps Training | DevOps Tutorial for Beginner...
Edureka!
 
Git Tutorial | Git Basics - Branching, Merging, Rebasing | Learn Git | DevOps...
Edureka!
 
DevOps Roadshow - continuous delivery and release management
Microsoft Developer Norway
 
GitHub Basics - Derek Bable
"FENG "GEORGE"" YU
 
Hands-on Helm
Docker, Inc.
 
[네전따] 네트워크 엔지니어에게 쿠버네티스는 어떤 의미일까요
Jo Hoon
 
SRE Conference 2022 - How to Build a Healthy On-Call Culture
smalltown
 
Introduction to microservices
Paulo Gandra de Sousa
 
Red Hat Openshift Fundamentals.pptx
ssuser18b1c6
 
Git basics to advance with diagrams
Dilum Navanjana
 
svn 능력자를 위한 git 개념 가이드
Insub Lee
 
Git Version Control System
KMS Technology
 

Viewers also liked (14)

KEY
40 square's git workflow
Ruben Tan
 
PPTX
How to use Git Branch
Phuoc Nguyen
 
PPTX
Git Workflows
Noam Kfir
 
PPTX
Git workflow advanced - Trung tâm lập trình Codeto Vietnam
Hà Anh Sơn
 
PPTX
Git collaboration
Pham Quy (Jack)
 
PPT
Understand release engineering
gaoliang641
 
PDF
Final2
Jherel Mendoza
 
PDF
Business e-mails
susaaaaaa
 
PDF
Nissan Sedan SE-R Bond
Jherel Mendoza
 
PDF
CAJA PLACAS
Jherel Mendoza
 
PDF
06 lythuyetctxh
Nengyong Ye
 
PPT
Ky nang giao tiep
Nengyong Ye
 
PPTX
Top 5 Sights In the World
Josie Smith-hudson
 
DOCX
Mm
sangeethamm
 
40 square's git workflow
Ruben Tan
 
How to use Git Branch
Phuoc Nguyen
 
Git Workflows
Noam Kfir
 
Git workflow advanced - Trung tâm lập trình Codeto Vietnam
Hà Anh Sơn
 
Git collaboration
Pham Quy (Jack)
 
Understand release engineering
gaoliang641
 
Business e-mails
susaaaaaa
 
Nissan Sedan SE-R Bond
Jherel Mendoza
 
CAJA PLACAS
Jherel Mendoza
 
06 lythuyetctxh
Nengyong Ye
 
Ky nang giao tiep
Nengyong Ye
 
Top 5 Sights In the World
Josie Smith-hudson
 
Ad

Similar to Git branch management (20)

PPTX
Git workflows
Thuc Le Dong
 
PPTX
git Technologies
Hirantha Pradeep
 
PDF
Git and GitHub workflows
Arthur Shvetsov
 
PPT
Git workflows
Xpand IT
 
PDF
BRANCHING MODELS (workshop)
Drupal Portugal
 
PDF
Git workflows
will152835
 
PPTX
Gitflow - Branching and Merging Flow for Git
Maulik Shah
 
PPTX
Gitflow - Branching and Merging Flow for Git
Maulik Shah
 
PDF
Git
Mayank Patel
 
PPTX
Git development workflow
Sankar Suda
 
PDF
Managing releases effectively through git
Mohd Farid
 
PDF
Gitflow Workflow
Hean Hong Leong
 
PDF
CS_Note_Introduction to Git Workflow.pdf
albusfons939393
 
PPTX
Gitflow - Una metología para manejo de Branches
Javier Alvarez
 
PPTX
Gitflow - Clouddictive
Clouddictive
 
PDF
Introduction to git flow
Knoldus Inc.
 
PDF
Improving your workflow with git
Dídac Ríos
 
PDF
Git and git flow
Fran García
 
PPTX
Git basics, Team Workflows (Ciro Miranda)
Ciro Miranda
 
PDF
Real World Git Workflows - EclipseCon Europe 2013
Nicola Paolucci
 
Git workflows
Thuc Le Dong
 
git Technologies
Hirantha Pradeep
 
Git and GitHub workflows
Arthur Shvetsov
 
Git workflows
Xpand IT
 
BRANCHING MODELS (workshop)
Drupal Portugal
 
Git workflows
will152835
 
Gitflow - Branching and Merging Flow for Git
Maulik Shah
 
Gitflow - Branching and Merging Flow for Git
Maulik Shah
 
Git development workflow
Sankar Suda
 
Managing releases effectively through git
Mohd Farid
 
Gitflow Workflow
Hean Hong Leong
 
CS_Note_Introduction to Git Workflow.pdf
albusfons939393
 
Gitflow - Una metología para manejo de Branches
Javier Alvarez
 
Gitflow - Clouddictive
Clouddictive
 
Introduction to git flow
Knoldus Inc.
 
Improving your workflow with git
Dídac Ríos
 
Git and git flow
Fran García
 
Git basics, Team Workflows (Ciro Miranda)
Ciro Miranda
 
Real World Git Workflows - EclipseCon Europe 2013
Nicola Paolucci
 
Ad

Recently uploaded (20)

PDF
CloudStack GPU Integration - Rohit Yadav
ShapeBlue
 
PPTX
Building a Production-Ready Barts Health Secure Data Environment Tooling, Acc...
Barts Health
 
PDF
Novus Safe Lite- What is Novus Safe Lite.pdf
Novus Hi-Tech
 
PDF
Rethinking Security Operations - SOC Evolution Journey.pdf
Haris Chughtai
 
PDF
Upgrading to z_OS V2R4 Part 01 of 02.pdf
Flavio787771
 
PDF
Human-centred design in online workplace learning and relationship to engagem...
Tracy Tang
 
PDF
Meetup Kickoff & Welcome - Rohit Yadav, CSIUG Chairman
ShapeBlue
 
PDF
SFWelly Summer 25 Release Highlights July 2025
Anna Loughnan Colquhoun
 
PDF
Log-Based Anomaly Detection: Enhancing System Reliability with Machine Learning
Mohammed BEKKOUCHE
 
PDF
HR agent at Mediq: Lessons learned on Agent Builder & Maestro by Tacstone Tec...
UiPathCommunity
 
PDF
TrustArc Webinar - Data Privacy Trends 2025: Mid-Year Insights & Program Stra...
TrustArc
 
PDF
Novus-Safe Pro: Brochure-What is Novus Safe Pro?.pdf
Novus Hi-Tech
 
PDF
Market Wrap for 18th July 2025 by CIFDAQ
CIFDAQ
 
PPTX
Darren Mills The Migration Modernization Balancing Act: Navigating Risks and...
AWS Chicago
 
PDF
CIFDAQ Weekly Market Wrap for 11th July 2025
CIFDAQ
 
PPTX
✨Unleashing Collaboration: Salesforce Channels & Community Power in Patna!✨
SanjeetMishra29
 
PDF
2025-07-15 EMEA Volledig Inzicht Dutch Webinar
ThousandEyes
 
PDF
Wojciech Ciemski for Top Cyber News MAGAZINE. June 2025
Dr. Ludmila Morozova-Buss
 
PDF
Are there government-backed agri-software initiatives in Limerick.pdf
giselawagner2
 
PPTX
Top iOS App Development Company in the USA for Innovative Apps
SynapseIndia
 
CloudStack GPU Integration - Rohit Yadav
ShapeBlue
 
Building a Production-Ready Barts Health Secure Data Environment Tooling, Acc...
Barts Health
 
Novus Safe Lite- What is Novus Safe Lite.pdf
Novus Hi-Tech
 
Rethinking Security Operations - SOC Evolution Journey.pdf
Haris Chughtai
 
Upgrading to z_OS V2R4 Part 01 of 02.pdf
Flavio787771
 
Human-centred design in online workplace learning and relationship to engagem...
Tracy Tang
 
Meetup Kickoff & Welcome - Rohit Yadav, CSIUG Chairman
ShapeBlue
 
SFWelly Summer 25 Release Highlights July 2025
Anna Loughnan Colquhoun
 
Log-Based Anomaly Detection: Enhancing System Reliability with Machine Learning
Mohammed BEKKOUCHE
 
HR agent at Mediq: Lessons learned on Agent Builder & Maestro by Tacstone Tec...
UiPathCommunity
 
TrustArc Webinar - Data Privacy Trends 2025: Mid-Year Insights & Program Stra...
TrustArc
 
Novus-Safe Pro: Brochure-What is Novus Safe Pro?.pdf
Novus Hi-Tech
 
Market Wrap for 18th July 2025 by CIFDAQ
CIFDAQ
 
Darren Mills The Migration Modernization Balancing Act: Navigating Risks and...
AWS Chicago
 
CIFDAQ Weekly Market Wrap for 11th July 2025
CIFDAQ
 
✨Unleashing Collaboration: Salesforce Channels & Community Power in Patna!✨
SanjeetMishra29
 
2025-07-15 EMEA Volledig Inzicht Dutch Webinar
ThousandEyes
 
Wojciech Ciemski for Top Cyber News MAGAZINE. June 2025
Dr. Ludmila Morozova-Buss
 
Are there government-backed agri-software initiatives in Limerick.pdf
giselawagner2
 
Top iOS App Development Company in the USA for Innovative Apps
SynapseIndia
 

Git branch management