GitOps is a method for automating Kubernetes using Git as the single source of truth. It treats infrastructure as code, keeping definitions of the desired cluster state alongside application code in Git. When changes are merged, automation applies them to Kubernetes. Software agents ensure the actual cluster state matches what's defined in Git. This provides security, speed, reliability and easier compliance through the immutable, auditable history in Git.