# GitHub & GitLab Sync

<figure><img src="https://1050631731-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNkEGS7hzeqa35sMXQZ4X%2Fuploads%2FwGBRqcgxpK562ZksP7oy%2F10_01_25_git_sync.svg?alt=media&#x26;token=da06acc3-15f8-4fde-ab65-c3c38ef4f31c" alt="A GitBook screenshot showing the Git Sync setup"><figcaption><p>Set up Git Sync for your GitBook space.</p></figcaption></figure>

### Overview

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.

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.

{% hint style="info" %}
Only [administrators and creators](https://gitbook-v2-nuope4h2g-gitbook.vercel.app/url/gitbook.com/docs/account-management/member-management/roles) can enable and configure Git Sync.
{% endhint %}
