Module 09 of 12

Team Workflows & Strategies

Lessons

About This Module

Knowing Git commands is one thing. Using Git well alongside other people is another. Git doesn't tell you how a team should organise its branches or when work should be merged: it only provides the tools. That means every team needs to agree on a workflow, and understanding the common options is what lets you join a new team quickly and even help shape how it works.

You'll compare the most widely used branching strategies: Git Flow, with its develop, release and hotfix branches for scheduled releases; GitHub Flow, with one main branch and short-lived feature branches; and trunk-based development, where everyone integrates small changes into main very frequently. You'll learn the difference between long-running and short-lived branches, why a team should write its conventions down, and how to choose a strategy that fits the team's size and release process. Finally, since parallel work will always collide eventually, you'll learn how to resolve merge conflicts calmly and confidently.

Watch the lessons in order, then continue on to Issues, Projects & Open Source.

Lessons

4 videos
01

Branching Workflows: Choosing the Right Git Strategy for Your Team

An overview of Git Flow, GitHub Flow and trunk-based development, and how to decide which one suits your team.

02

Git for Professionals Tutorial: Tools & Concepts for Mastering Version Control with Git

Tobias Günther of Tower explains why teams need a written branching convention, the difference between long-running and short-lived branches, and how GitHub Flow and Git Flow work. The course also covers pull requests, merge conflicts and merge vs. rebase.

03

We Tried Trunk Based Development: The Results Were Shocking

A company shares what happened when it put trunk-based development to the test, and whether your team should consider switching to it.

04

How to Resolve Merge Conflicts in Git

A practical walkthrough of what a merge conflict looks like and how to resolve one, so teamwork on shared branches stops being stressful.