How Git Sync works
Git Sync provides bidirectional synchronization between your Grafana Cloud instance and Git repositories. When you enable Git Sync, dashboards are stored as JSON files in your repository, allowing you to manage them using standard Git workflows including commits, branches, pull requests, and merges.
The synchronization mechanism monitors both Grafana and your Git repository for changes. When you modify a dashboard in Grafana, Git Sync can push those changes to your repository. When changes occur in your repository, Git Sync can pull those updates into Grafana. This bidirectional flow ensures your dashboards stay synchronized across both systems.
Sync states
Git Sync uses the following sync states to track dashboard status:
Understanding these states helps you identify which dashboards need attention and what actions to take. The sync state appears next to each dashboard in the Git Sync interface.
In the next milestone, you’ll review the prerequisites for using Git Sync.
