Git Sync
Keep your docs and your codebase in sync
Synchronize your GitBook content with GitHub or GitLab so your whole team can contribute to your docs, from wherever they prefer to work.
Syncing
made simple
Effortless setup
Our GitHub Sync and GitLab Sync integrations guide you through the setup process, so you can get a new sync set up in just a few minutes.
Integrate with your
Git workflows
Custom redirects and commit messages
Set up custom redirects for pages, or integrate Git Sync into your existing Git flows using Autolink and custom commit messages.
Advanced permissions
Want to choose who can push updates live? Set merge permissions in GitHub or GitLab to stay in control of your documentation workflow.
Never start from scratch
Import an existing README file or your current docs straight into GitBook and get a head start. Once you’re set up, everything syncs automatically in seconds.
Explore GitBook’s
Git Sync integrations
GitHub Copilot
GitBook Copilot uses your documentation to provide instant answers to your coding workflow.
GitHub Sync
Synchronize your GitBook content with GitHub with GitBook’s bi-directional integration.
GitLab Sync
Synchronize your GitBook content with GitLab with GitBook’s bi-directional integration.