Summary
This chapter covered Git, GitOps, why we need it, its principles, and various GitOps deployments. We also looked at different kinds of repositories that we can create to implement GitOps, along with the branching strategy choices for each of them.
You should now be able to do the following:
- Understand what source code management is and how it is necessary for many activities with modern DevOps
- Create a Git repository and play around with the
clone
,add
,commit
,push
,pull
,branch
, andcheckout
commands - Understand what GitOps is and how it fits the modern DevOps context
- Understand why we need GitOps and how it achieves modern DevOps
- Understand the salient principles of GitOps
- Understand how to use an effective branching strategy to implement GitOps based on the org structure and product type
In the next chapter, we will develop a core understanding of containers and look at Docker.