GitHub & GitLab Sync
Synchronize your GitBook docs with GitHub or GitLab with GitBookβs bi-directional integration

Overview
Git Sync allows technical teams to sync GitHub or GitLab repositories with GitBook and turn a repo of 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.
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.
Set up Git Sync
Working with AI Agents
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.
Head to Agent skills to learn more.
Last updated
Was this helpful?