docs/sources/as-code/observability-as-code/git-sync/use-git-sync.md
{{< admonition type="caution" >}}
Git Sync is now GA for Grafana Cloud, OSS and Enterprise. Refer to Usage and performance limitations to understand usage limits for the different tiers.
Contact Grafana for support or to report any issues you encounter and help us improve this feature.
{{< /admonition >}}
After you sync your resources, Git Sync creates a dashboard that provides a summary of resources, health, pull status, webhook, sync jobs, resources, and files. To access it, follow these steps:
Refer to Work with provisioned dashboards for more information about working with provisioned files.
Use the View section to see detailed information about the current status of your sync and troubleshoot possible issues:
The Overview tab contains information about the health of your repository's connection with Grafana, configuration options such as webhooks, or information on Git processes.
The Resources tab lists the provisioned resources of the connection.
{{< admonition type="caution" >}}
Before you proceed to troubleshoot, understand the Usage and performance known limitations.
{{< /admonition >}}
Monitor the View status page for synchronization issues and status updates. The status page displays the following events:
Dashboard sync errors
Dashboard import errors
To sync resources between the provisioned repositories and your Grafana instance, click Pull under the repository you want to sync. The synchronization process runs and completes.
Grafana overwrites existing dashboards with the same uid.
To update or delete your repository configuration after you complete setup:
{{< admonition type="caution" >}}
To modify permissions, each provisioned folder must include the _folder.json metadata file with the folder's UID, which defines a stable folder ID used to set folder permissions. Without it, the folder's permissions will be lost if you move that folder to a different path in the Git repository.
For new provisioned folders managed with Git Sync, the metadata file is added automatically if you created the folder from the Grafana UI. If your folder is missing the metadata file, you'll see a warning in the UI with instructions on how to add the missing metadata. {{< /admonition >}}
By default, folders provisioned with Git Sync have these roles with its associated permissions:
Refer to Roles and permissions for more information on what each role implies.
To modify folder permissions:
Each folder in a synced repository contains a .folder.json file at its root:
{
"apiVersion": "folder.grafana.app/v1beta1",
"kind": "Folder",
"metadata": {
"name": "<FOLDER_UID>"
},
"spec": {
"title": "<FOLDER_UI_NAME>"
}
}
Where:
<FOLDER_UID> is the stable folder UID that Grafana uses for permissions, bookmarks, and API references.<FOLDER_UI_NAME> is the display name shown in the Grafana UI. This parameter is optional. If not used, the folder name will be passed instead.