GitOps is an approach to managing infrastructure that uses Git as the single source of truth for declarative infrastructure definitions and configurations. It combines DevOps practices like continuous integration and continuous delivery with infrastructure as code tools like Terraform, Ansible and Kubernetes manifests. GitOps works by having the infrastructure pull configuration changes from Git repositories, keeping live systems in sync with Git. Popular GitOps tools include Argo CD, Flux and Weaveworks. While GitOps provides benefits like easy version tracking and security, it can result in too many repositories to manage and secrets become harder to handle as the number of repos grows.