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

# GitHub Integration

> Keep your Bilt app in sync with a GitHub repository

Bilt connects to GitHub so your app's source code lives in your own repository. Bilt mirrors your project to a GitHub repository and keeps the two in sync as you build. You manage everything from **Settings → GitHub** in your project.

## What it is

GitHub integration mirrors your Bilt project to a repository in your GitHub account or organization. Your app's source code lives in a real repo with version history — not just inside Bilt — so you can clone it, share it with others, and use the same Git workflows you would on any other project. Bilt keeps the repository updated as you build.

## What you can do

* **Mirror to GitHub** — Bilt copies your project to a GitHub repository in the account you choose
* **Two-way sync** — Changes you make in Bilt or on GitHub are kept in sync automatically
* **Own your code** — Clone the repo, work locally, and continue in any editor
* **Collaborate** — Add team members and wire up GitHub Actions or other tooling

## How it's organized

The GitHub settings have two tabs:

| Tab            | What it's for                                                               |
| -------------- | --------------------------------------------------------------------------- |
| **Accounts**   | Connect or disconnect the GitHub accounts and organizations Bilt can access |
| **Repository** | Sync your project to a GitHub repo, resync it, or unlink it                 |

## Working with your code on GitHub

Once your code is on GitHub, you can:

* Clone and continue development locally
* Set up CI/CD pipelines with GitHub Actions
* Add team members as collaborators
* Open the project in any editor or IDE

See [Code Export](/docs/features/code-export) for more on working with your code outside Bilt.

## Related: Web App Sync

GitHub integration mirrors your Bilt project *out* to a repo. If you instead want to base your mobile app on an existing web app's repository — say a site you built with Lovable, v0, or Bolt — use [Web App Sync](/docs/features/webapp-sync). It clones that web app into the sandbox alongside your mobile app so the agent can work across both, and it reuses the same connected GitHub accounts.

## Guide

For a step-by-step walkthrough, see the [connect GitHub guide](/docs/guides/connect-github).
