Choosing the Right Git Workflow: A Comparative Analysis of Trunk-based vs. Branch-based Approaches
Pedro Lopes, Paola Accioly, Paulo Borba, Vitor Menezes

TL;DR
This paper compares trunk-based and branch-based Git workflows, analyzing their suitability for different team sizes and experience levels through surveys and interviews with Brazilian developers.
Contribution
It provides empirical evidence on the preferences and challenges of using Git workflows in real-world Brazilian software development teams.
Findings
Trunk-based workflows suit fast-paced, small, experienced teams.
Branch-based workflows are better for larger, less experienced teams.
Management challenges are more prominent in branch-based workflows.
Abstract
Git has become one of the most widely used version control systems today. Among its distinguishing features, its ability to easily and quickly create branches stands out, allowing teams to customize their workflows. In this context, various formats of collaborative development workflows using Git have emerged and gained popularity among software engineers. We can categorize such workflows into two main types: branch-based workflows and trunk-based workflows. Branch-based workflows typically define a set of remote branches with well-defined objectives, such as feature branches, a branch for feature integration, and a main branch. The goal is to migrate changes from the most isolated branch to the main one shared by all as the code matures. In this category, GitFlow stands out as the most popular example. In contrast, trunk-based workflows have a single remote branch where developers…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsScientific Computing and Data Management · Advanced X-ray and CT Imaging
