GitHub Sync links your Fabricate app to a GitHub repository and keeps the two in step. Changes flow in both directions: what the AI agent builds in Fabricate lands in your repository, and commits you push to GitHub flow back into your Fabricate project.Documentation Index
Fetch the complete documentation index at: https://fabricate.build/docs/llms.txt
Use this file to discover all available pages before exploring further.
What Syncs
Once connected, your project and its repository stay aligned:- Fabricate to GitHub — code the agent generates is committed to your repository.
- GitHub to Fabricate — commits you or your collaborators push to the repository flow back into your project.
GitHub Sync uses webhooks to detect changes on the repository side, so updates pushed to GitHub are picked up automatically.
Setting Up GitHub Sync
Open GitHub Sync for your app
In your Fabricate project, find the GitHub Sync option in the code management settings.
Authorize Fabricate with GitHub
Connect your GitHub account so Fabricate can access the repository you want to sync with.
Confirm the connection
Fabricate sets up two-way sync, including the webhook that watches for changes pushed to the repository.
Sync vs. a One-Time Export
GitHub Sync is an ongoing connection. Exporting your code is a one-time snapshot.| GitHub Sync | One-time export | |
|---|---|---|
| Direction | Two-way, continuous | One-way, single copy |
| Stays up to date | Yes | No — snapshot only |
| Uses webhooks | Yes | No |
| Best for | Ongoing development and collaboration | Grabbing a copy of your code |
Frequently Asked Questions
Do I need an existing repository?
Do I need an existing repository?
GitHub Sync connects your app to a GitHub repository. If you only want a fresh copy of your code in a brand-new repo, you can push to a new repository instead.
Who owns the code in the repository?
Who owns the code in the repository?
You do. The repository is yours — Fabricate syncs to it, but there’s no lock-in. See Exporting Your Code.
Can I edit code locally and have it show up in Fabricate?
Can I edit code locally and have it show up in Fabricate?
Yes. That’s the point of two-way sync — push commits to the connected repository and they flow back into your Fabricate project.
Where to Go Next
Export Code
Push to a new repo or download a zip.
File Explorer
Browse the code that gets synced.