Chapter 5: Git Workflows

So far, we’ve covered the basics of Git and how to use them as part of a team. But teams differ in the way they utilize Git in their projects. A Git workflow is a set of guidelines that a team should follow to manage a project.

In this chapter, we’ll explore the most commonly used Git workflows. A workflow generally provides guidelines on the following items:

  • the architecture of the project
  • how contributions are made to the project
  • how the work of others is merged into the project

Git’s flexibility allows you to set up diverse guidelines for your project. This can potentially lead to a large number of workflows. How do you ensure that team members follow these guidelines? It may be a good idea to follow a specific, ...

Get Jump Start Git, 2nd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.