Collaborative Development with Git
Chapter 2, Developing with Git, and Chapter 3, Managing Your Worktrees, taught you how to make new contributions to a project, but limited this information to affecting only your own clone of the project’s repository on your computer. Chapter 2 described how to commit new revisions, while Chapter 3 showed you how Git can help you prepare it.
This chapter and Chapter 7, Publishing Your Changes, present a bird’s-eye view of the various ways to collaborate with others, showing centralized and distributed workflows. These two chapters will focus on the repository-level interactions in collaborative development, while the patterns of branches used will be covered in Chapter 8, Advanced Branching Techniques.
This chapter describes different collaborative workflows, explaining the advantages and disadvantages of each one. You will also learn about the chain of trust concept and how to use signed tags, signed merges, and signed commits...