Advertisement
Beginner ArgoCD, GitOps Principles

What is a source of truth and why does GitOps use Git for it?

Short answer

A single source of truth is the one authoritative record of desired state. GitOps uses Git because it provides versioning, history, code review, access control, and rollback out of the box, and it's a familiar developer tool—making desired state auditable and collaborative.

Save ArgoCD mock interview
Advertisement
AModel answer
A single source of truth is the one authoritative record of desired state. GitOps uses Git because it provides versioning, history, code review, access control, and rollback out of the box, and it's a familiar developer tool—making desired state auditable and collaborative.
Real-world example
Every environment's desired state lives in Git, so 'what should be running' is always answerable from one place.
Likely follow-ups
  • Why Git specifically? | What does 'authoritative' mean here?
Related topics