---
title: 'Git Sync – Version-Controlled Content'
url: 'https://demo.hibbittsdesign.org/grav-open-publishing-quark2/open-education-essentials/tools-for-open-course-design/git-sync'
markdown: 'https://demo.hibbittsdesign.org/grav-open-publishing-quark2/open-education-essentials/tools-for-open-course-design/git-sync.md'
date: '2026-10-05'
description: '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. How It Works The Git Sync plugin connects Grav to a remote Git repository via a webhook. When you save a page, Grav comm…'
taxonomy:
  archives_month:
    - oct_2026
  archives_year:
    - '2026'
---

Section 2

# Git Sync – Version-Controlled Content

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.

## How It Works

The [Git Sync plugin](https://github.com/trilbymedia/grav-plugin-git-sync) 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.

## Setting Up Git Sync

1. Create a repository on GitHub or Codeberg
2. Install and enable the Git Sync plugin
3. Run the Git Sync wizard – it generates the webhook URL and walks through the authentication setup
4. Set the sync folder to `pages` (the default)

Once configured, any page you save in the Admin Panel appears in your repository within seconds.

## Why This Matters for OER

A Git-backed reader is:

- **Portable** – clone the repository to move to a new host
- **Recoverable** – every version is preserved in history
- **Collaborative** – contributors can fork and propose changes
- **Citable** – specific versions can be tagged and linked permanently

The repository becomes the authoritative source. The Grav site is one way to render it.

This work by [Your Name](#) is licensed under [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/).

- Open Education
- [What is Open Education?](https://demo.hibbittsdesign.org/grav-open-publishing-quark2/open-education-essentials/what-is-open-education)
- [Tools for Open Course Design](https://demo.hibbittsdesign.org/grav-open-publishing-quark2/open-education-essentials/tools-for-open-course-design)
- [LMS Embedding](https://demo.hibbittsdesign.org/grav-open-publishing-quark2/open-education-essentials/tools-for-open-course-design/lms-embedding)
- [Git Sync – Version-Controlled Content](https://demo.hibbittsdesign.org/grav-open-publishing-quark2/open-education-essentials/tools-for-open-course-design/git-sync)
- [Docsify-This for Instant Publishing](https://demo.hibbittsdesign.org/grav-open-publishing-quark2/open-education-essentials/tools-for-open-course-design/docsify-this)

- [Getting Started with Open Authoring](https://demo.hibbittsdesign.org/grav-open-publishing-quark2/open-education-essentials/getting-started-with-open-authoring)
- Publishing with This Site
- [Growing Your Guide](https://demo.hibbittsdesign.org/grav-open-publishing-quark2/open-education-essentials/growing-your-guide)

---

## Navigation

- Parent: [Tools for Open Course Design](https://demo.hibbittsdesign.org/grav-open-publishing-quark2/open-education-essentials/tools-for-open-course-design.md)
- Previous: [LMS Embedding](https://demo.hibbittsdesign.org/grav-open-publishing-quark2/open-education-essentials/tools-for-open-course-design/lms-embedding.md)
- Next: [Docsify-This for Instant Publishing](https://demo.hibbittsdesign.org/grav-open-publishing-quark2/open-education-essentials/tools-for-open-course-design/docsify-this.md)
