Skip to main content
Git Sync allows technical teams to synchronize GitHub or GitLab repositories with GitBook and turn Markdown files into beautiful, user-friendly docs. Edit directly in GitBook’s powerful editor while keeping content synchronized with your codebase on GitHub or GitLab.

How it works

Git Sync is bi-directional, so changes you make directly in GitBook’s editor are automatically synced, as are any commits made on GitHub or GitLab. This allows developers to commit directly from GitHub or GitLab and technical writers, instructional designers and product managers to edit, discuss and feedback changes directly in GitBook.
Only administrators and creators can enable and configure Git Sync.

Key features

  • Bi-directional sync: Changes flow seamlessly between GitBook and your Git repository
  • GitHub and GitLab support: Works with both major Git platforms
  • Markdown-based: Leverage your existing Markdown content
  • Team collaboration: Developers work in Git while content teams use GitBook’s editor
  • Change request integration: Merges in GitBook create commits in your repository

Using skill.md with Git Sync

When working on your docs locally with Git Sync, you can use GitBook’s skill.md file to provide an AI coding assistant with context about GitBook’s blocks, features, and best practices. This helps maintain consistency and quality when editing documentation files in your local environment.

Build docs developers (and LLMs) love