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

# Connect a GitHub Repository

> Host your Context Graph repository in your own GitHub environment instead of the Jedify-managed default.

By default your Context Graph lives in a Git repository managed by Jedify and hosted on Jedify's S3 - no GitHub setup required. If you'd rather own the repository, connect a GitHub account. You can move the repository to your own environment at any time.

## Where to connect

You can start the connection from either place:

* The **Versions** menu on the **Context Graph** page.
* The **Integrations** screen.

<img src="https://mintcdn.com/jedify-ecb33f09/H_XIiwaTZNOeLHYN/images/docs/versioning/versions-menu-connect-github.png?fit=max&auto=format&n=H_XIiwaTZNOeLHYN&q=85&s=fc5219790db89f6e63228ca64cd400ee" alt="The Versions menu, with a Connect to GitHub prompt beneath the published versions" width="906" height="1304" data-path="images/docs/versioning/versions-menu-connect-github.png" />

## Setup

<img src="https://mintcdn.com/jedify-ecb33f09/H_XIiwaTZNOeLHYN/images/docs/versioning/github-integration-card.png?fit=max&auto=format&n=H_XIiwaTZNOeLHYN&q=85&s=9e088dc47ebf2a1b9a67768e7562abc3" alt="The GitHub Repository integration card with its Connect to GitHub button" width="1538" height="512" data-path="images/docs/versioning/github-integration-card.png" />

<Note>
  Before you start, create an empty repository on GitHub and have it ready to authorize during the setup flow.
</Note>

<Steps>
  <Step title="Start the OAuth flow">
    Click **Connect to GitHub** in the GitHub integration card. You're redirected to GitHub in a new tab.
  </Step>

  <Step title="Select a repository on GitHub">
    Choose the repository you want Jedify to use.
  </Step>

  <Step title="Grant access">
    Click **Update access**. GitHub redirects you back to Jedify, and the card reads *GitHub App installed. Select a repository to connect.* Pick your repository from the picker.
  </Step>

  <Step title="Confirm the connection">
    The card now reads **Connected repository: \{name}**, alongside a **Disconnect** button.
  </Step>
</Steps>

## After connecting

Branch pushes, merges, and version history continue to work the same way in the Jedify app - see [The Versions menu](/semantic-fusion/versioning/versions-menu). The difference is that conflicts can now be resolved directly on GitHub, in addition to in the skills.
