# Source: https://gitbook.com/docs/help-center/integrations/integrations-troubleshooting/git-sync.md

# Source: https://gitbook.com/docs/documentation/ja-gitbook-documentation/getting-started/git-sync.md

# Source: https://gitbook.com/docs/documentation/zh/getting-started/git-sync.md

# Source: https://gitbook.com/docs/documentation/fr/getting-started/git-sync.md

# Source: https://gitbook.com/docs/getting-started/git-sync.md

# GitHub & GitLab Sync

<figure><img src="https://1050631731-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNkEGS7hzeqa35sMXQZ4X%2Fuploads%2Fo79JqKUo68L5FgJLGdJp%2FGit%20Sync%402x.png?alt=media&#x26;token=76a81aba-457d-4821-867d-57ad86fea004" 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.com/docs/account-management/member-management/roles) can enable and configure Git Sync.
{% endhint %}

### skill.md

When working on your docs locally with Git Sync, you can use GitBook's [skill.md file](https://gitbook.com/docs/creating-content/ai-coding-assistants-and-skill.md) to provide an AI coding assistant with context about GitBook's blocks, features, and best practices.&#x20;