DevOpsLab

Course1 · DevOps foundations → Git & version control

1 · DevOps foundations

Theory · Git & version control

16 min · Module 3 · Theory

How to study this topic

  1. Read the theory below (concepts, bullets, and shell/YAML examples).
  2. Try the Exam pool and Book quizzes in this module.
  3. After each quiz, use Show answer on every question to review.

Git & version control

Git tracks every change. Trunk-based or GitFlow branching strategies support CI/CD. Pull requests enable review, tests, and audit trails before merge.

Shell, YAML & config examples

git checkout -b feature/add-healthcheck
git add src/
git commit -m "feat: add /healthz endpoint"
git push -u origin feature/add-healthcheck
# Open PR → CI runs → merge to main → tag v1.3.0

Hands-on practice: /lab/

Log in to track progress / take quizzes