Section 2
Git Sync turns your Grav pages folder into a version-controlled repository. Every save in the Admin Panel becomes a commit. Every commit in your repository becomes a page update.
The Git Sync plugin connects Grav to a remote Git repository via a webhook. When you save a page, Grav commits and pushes the change. When you push to the repository directly, a webhook triggers a pull.
The result: your content lives simultaneously on your web server and in your Git repository, kept in sync automatically.
pages (the default)Once configured, any page you save in the Admin Panel appears in your repository within seconds.
A Git-backed reader is:
The repository becomes the authoritative source. The Grav site is one way to render it.