Chapter 24: Version Control with Git
In this chapter, you'll learn how Git works, how to manage branches, merge and rebase changes, resolve conflicts, tag releases, and use branching strategies in Linux environments.
In Chapter 23, you learned how CI/CD pipelines are organized into stages and jobs, how YAML pipeline files automatically run when Git events occur, how artifacts move from one stage to the next, and how pipeline security follows the same least-privilege principles you learned in the security module.
This chapter wraps up Module 5: DevOps Fundamentals by introducing Git on the Linux command line, which is the version control system behind every CI/CD pipeline, deployment workflow, and Infrastructure as Code (IaC) setup you've explored in this module.
The DevOps Fundamentals (12%) section of the LFCA exam expects you to know the essential Git commands. You'll learn how to create and initialize repositories, stage and commit changes, work with branches, merge code, resolve merge conflicts, and read Git history using log commands.