
HiringsAI blog
Every AI app builder offers "GitHub sync," and the phrase hides four different machines: the UI app builder publishes through pull requests, the AI app builder mirrors one branch two ways, the browser app builder commits and polls continuously, and the cloud IDE agent checks out a development copy. From their own documentation.
An AI builder holds your code inside its own platform until you give it somewhere else to live.
An AI builder holds your code inside its own platform until you give it somewhere else to live. GitHub is that somewhere else, and all four reviewed builders offer a connection to it. But the word "sync" covers four architectures with different answers to the questions that matter: who commits, when, onto which branch, and what happens when the code changes on both sides at once. the UI app builder's model is built around pull requests: each chat works on its own working branch, and publishing creates or reuses a pull request and merges it into the base branch, honoring the repository's branch protection rules. the AI app builder's model is a mirror: a project links to one repository and edits and syncs one branch at a time, in both directions. The browser app builder's model is continuous: it creates a commit for every change that does not break the project, and it polls GitHub every 30 seconds for updates made outside the browser app builder. The cloud IDE agent's model, on the vendor's documentation, is a checkout: you connect GitHub or GitLab, pick a repository, and the cloud IDE agent brings a development copy of the code into a sandbox for you to work on. Four products, four machines, one button label.
The stakes are ownership and recovery. the UI app builder's documentation warns that once a repository is connected, it becomes the source of truth for the project's code, and deleting it can make the code unrecoverable. the AI app builder's documentation says the same from the other side: deleting the repository stops the sync. These are not edge cases; they are the defining property of connecting. The good news across all four docs is that the connection is yours to shape: private repositories by default where the doc says so, scoped app permissions, and in the AI app builder's case three connection types up to a self-hosted GitHub Enterprise Server where you create your own copy of the GitHub app so credentials stay under your control.
Four documentation pages were: the UI app builder's GitHub docs, the AI app builder's GitHub integration guide, the browser app builder's GitHub for version control article, and the cloud IDE agent's connect-your-repository page. Each claim below is attributed to the page it came from, and where the pages disagree with each other, that disagreement is the story, not a problem to smooth over.
The vendor docs converge on three reasons, stated in their own words.
The vendor docs converge on three reasons, stated in their own words. Backup: the browser app builder's article says connecting GitHub automatically backs up your project with a full history of changes that lives outside the browser app builder. Collaboration: the AI app builder's page frames GitHub as the platform for version control, pull requests, code reviews and CI/CD through GitHub Actions, the things a team already runs. And continuity of work: the browser app builder notes you can build in the browser app builder, switch to working directly in GitHub, and come back whenever you want; the UI app builder describes developers working on isolated branches with previews, CI and pull-request publishing. Notice that the AI app builder also documents the counterpoint: you do not need GitHub to use the AI app builder, many users build and launch entirely inside it, and if you only want a copy of the code there is a Download codebase option in project settings. Sync is a choice with consequences, not a default everyone should take.
the UI app builder's GitHub documentation is the most explicitly Git-native of the four.
the UI app builder's GitHub documentation is the most explicitly Git-native of the four. It defines four branch roles in a table: the default branch (the repository's default on GitHub), the base branch (the one a chat starts from and its pull request targets), the working branch (created per chat, where the UI app builder pushes generated changes instead of touching the base), and the production branch (configured on the linked Vercel project for production deployments, with other branches producing previews). A chat connected to GitHub starts from its base branch; the UI app builder creates the working branch lazily, only when it has a code change to push. Publishing is a merge ceremony: the UI app builder creates a pull request if none exists or reuses the existing one, merges it into the base branch, and waits for the production deployment. Afterward the chat re-syncs to the updated base and the next change opens a fresh working branch, so one chat can publish repeatedly.
Two details make this architecture what it is. First, the UI app builder follows the repository's GitHub rules: required checks, required reviews and draft pull requests can block the merge, and when they do, the UI app builder keeps the pull request open, explains what needs attention, and links to it on GitHub; fixable problems get branch-menu actions like Fix Conflicts, Fix CI, or Fix CI + Conflicts. Your repository's governance applies to the AI's output exactly as it applies to a teammate's. Second, the permission split: the UI app builder's docs state that GitHub sync moves code between the UI app builder and GitHub but does not grant permission to deploy through GitHub or other Vercel interfaces. Actions in the UI app builder web app use your the UI app builder role; GitHub-triggered deployments and the Vercel CLI use your Vercel role. A Vercel Viewer, the doc's example, can publish from the UI app builder with the UI app builder Builder role but cannot deploy through GitHub or the CLI. Syncing code and shipping code are separate powers.
The branch menu pulls the whole workflow into the chat header: preview deployment for the working branch, branch and diff on GitHub, pull request creation, CI check status, Pull Changes to bring base-branch updates into the working branch, and a review-or-repair action that changes with branch state. For parallel work, Duplicate Branch creates a new chat and branch containing the current branch's commits, connected to the same repository and targeting the same base. And the warning that frames all of it: once connected, the repository becomes the source of truth for the project's code, and if you delete it, the code may become unrecoverable.
the AI app builder's GitHub integration guide separates the connection into two layers, and the distinction explains most of its behavior.
the AI app builder's GitHub integration guide separates the connection into two layers, and the distinction explains most of its behavior. The workspace connection authorizes the AI app builder to access a GitHub account or organization through the AI app builder GitHub app; every project in the workspace can reuse it, and a workspace can hold several, which the doc frames as useful for teams working across personal, client and multiple organization accounts. The project repository link then connects one the AI app builder project to one GitHub repository. Once linked, the AI app builder edits and syncs one branch at a time, by default the repository's default branch; changes pushed to the active branch on GitHub sync back into the AI app builder, and the AI app builder's edits sync out. A branch picker switches which branch is being edited and synced.
The role table is explicit about who may do what. Workspace owner or admin only: install the GitHub app on a new account, add, update, reconnect or delete a workspace connection. Workspace or project owner/admin: connect, disconnect or reconnect a project. Workspace or project editor and above: view sync status, switch branches, create branches. Connection types come in three: standard github.com, available on all plans; GitHub Enterprise Cloud on a *.ghe.com hostname for data residency, which requires a AI app builder Enterprise plan; and GitHub Enterprise Server, self-hosted, where you create your own copy of the AI app builder GitHub app inside your organization so credentials remain under your control, with the app's private key transferred securely, stored encrypted on the AI app builder's side, and scheduled for secure destruction if you delete the connection. All three support the same two-way sync, branch operations and pull request creation, per the page.
The mirror has a failure state with a name: if the sync status card says the AI app builder and GitHub have diverged, each side has commits the other lacks. The doc's housekeeping rules matter too: deleting the repository stops the sync, while renaming the repository, account or organization keeps it running, and a transfer keeps running when the workspace also has a connection for the new owner. And the doc keeps the opt-out visible: you do not need GitHub to use the AI app builder, and a Download codebase section in project settings covers the case where you only want a copy.
The browser app builder's GitHub article documents the most continuous of the four machines.
The browser app builder's GitHub article documents the most continuous of the four machines. Outbound: the browser app builder saves your work automatically and creates a commit for every change that does not break the project. Inbound: it checks GitHub every 30 seconds for updates made outside the browser app builder and pulls those in. That 30-second number is the detail that defines the experience: a teammate merging a pull request, or you editing on github.dev, lands in the browser app builder project within half a minute, with no publish step. The article's positioning matches: connect a repo to back up code, sync commits automatically, work across branches, and keep the project current in both the browser app builder and GitHub.
The setup is GitHub's standard OAuth-plus-app flow, with the browser app builder's parent company named in the prompt: you authorize StackBlitz to access your GitHub account, install the GitHub app, and choose all repositories or only select ones. New repositories created from a browser app builder project start private. Importing goes the other way: you can import an existing repository if you have push permissions on it and it has a default branch, and an empty repository cannot be imported. The prerequisite note is worth quoting for teams: connecting needs an individual GitHub account, and organization repositories go through a separate organization setup page.
Conflicts have the most concrete documented handling of the four. If a change lands on GitHub while you are working in the browser app builder, the browser app builder cannot push your latest changes, a GitHub conflict message appears, and the browser app builder pulls in the newer GitHub version. Then you choose: Pull and resend last message applies your last the browser app builder change again on top of the new GitHub version, or Pull and discard last message keeps GitHub's version as-is. If sync fails without a conflict, a Couldn't sync with GitHub message appears and your changes stay saved in the browser app builder until sync finishes. The GitHub status panel in the top-right corner shows the state, including Syncing to GitHub while a push is in flight. One scope note from the same page: the browser app builder also offers a GitHub MCP connector for searching code, pulling in issues and reviewing discussions, and the article explicitly separates that from this integration, which exists to keep code synced.
The cloud IDE agent's connect-your-repository page describes the lightest coupling of the four.
The cloud IDE agent's connect-your-repository page describes the lightest coupling of the four. You start from the Repositories page, connect your GitHub or GitLab account, and the page tells you to review the requested access before approving it. You then find a repository and select Use in chat; when you share a repository and ask the cloud IDE agent to work on it, the cloud IDE agent prepares or reuses a sandbox and brings in a development copy of the code. Two scope notes from the page: connecting your Git account alone does not start the app or create a saved environment, and if a repository is missing from the list, the connected account's access is the first thing to check. GitLab support is also the differentiator here: the other three vendor documentation document GitHub only, while the cloud IDE agent's page covers both hosts in one flow.
The vendor documentation are careful about boundaries, and the boundaries are where misconfigurations live.
The vendor documentation are careful about boundaries, and the boundaries are where misconfigurations live. Sync is not deploy permission: the UI app builder states that GitHub sync does not grant permission to deploy through GitHub or other Vercel interfaces, which run on your Vercel role instead. Sync is not every GitHub feature: the browser app builder separates its code-sync integration from its GitHub MCP connector, which exists for searching code, pulling in issues and reviewing discussions. Sync is not the only way to keep your code: the AI app builder's Download codebase option exists for users who only need a copy, no GitHub required. And sync is not immunity from Git's rules: the UI app builder honors branch protection, the browser app builder imports only repositories with push permissions and a default branch, and the AI app builder's sync stops if the repository is deleted. The connection inherits the constraints of both platforms it joins.
The five checks are a synthesis of the vendors' documentation, labeled as such: no vendor phrases them as this list, but each row traces to a documented behavior above.
The five checks are a synthesis of the vendors' documentation, labeled as such: no vendor phrases them as this list, but each row traces to a documented behavior above. Architecture first, because it decides everything else. Roles second, because the AI app builder gates installation to workspace owners and admins, the browser app builder asks for an individual GitHub account, and the UI app builder splits code sync from deploy permission across two role systems. Conflict behavior third, because it is the feature you will actually meet on a bad day. Failure modes fourth: deleted repositories stop the AI app builder's sync and can make the UI app builder projects unrecoverable; missing repository access hides repos from the cloud IDE agent's list. Last, the boundaries: sync moves code, and the vendors' documentation are unanimous by omission that it grants nothing beyond that.

Long-form guides on building, automating and AI computing.