> ## Documentation Index
> Fetch the complete documentation index at: https://docs.weaveos.com/llms.txt
> Use this file to discover all available pages before exploring further.

# GitHub

> Connect your GitHub repositories to Weave

Connect GitHub to sync your pull requests, commits, code reviews, and team structure.

<Note>
  This page covers organizations on github.com. For an enterprise on a GHE.com subdomain (GitHub Enterprise Cloud with data residency), see [GitHub Enterprise Cloud (GHE.com)](/code-platforms/github-enterprise-cloud-data-residency). For a customer-hosted GitHub instance, see [GitHub Enterprise Server](/code-platforms/github-enterprise-server). For other self-hosted repository providers, see [Bitbucket Data Center](/code-platforms/bitbucket#bitbucket-data-center-self-hosted) or [GitLab (self-hosted)](/data-sources/gitlab-self-hosted).
</Note>

## What's synced

* Pull requests and their metadata
* Commits and code changes
* Code reviews and comments
* Team members and organization structure
* Repository information

## Connecting GitHub

<Steps>
  <Step title="Start connection">
    Go to **Data** and click **Connect** on GitHub
  </Step>

  <Step title="Authorize Weave">
    Sign in to GitHub and authorize the Weave app
  </Step>

  <Step title="Select repositories">
    Choose which repositories to sync
  </Step>

  <Step title="Wait for sync">
    Initial sync may take several minutes depending on repository size
  </Step>
</Steps>

## Permissions required

Weave requests the following GitHub permissions:

* **Repository access** — Read access to code, commits, and pull requests
* **Organization access** — Read access to organization members and teams

## Multiple organizations

You can connect multiple GitHub organizations. Each organization's data will be synced separately.

## Sync frequency

Weave syncs GitHub data in near real-time via webhooks. PR events (open, update, close, review) appear within a few minutes. A full data sweep also runs every 3 hours.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.