Skip to main content
Set up GitHub integration to edit your Base44 app locally and sync changes automatically.
Already have your app’s code in a GitHub repository? Connecting an app you build in Base44 creates a new repository for it. To work on code that’s already on GitHub, use Base Code instead.

Sync your app with GitHub

Connect your app to GitHub to write code in your local development environment or in Base44 and keep them in sync with each other.

Before you connect

Check these requirements and limits before you connect your app:
  • GitHub 2 way sync requires the Builder plan or higher.
  • Only app owners can connect an app to a repository or reconnect it.
  • Your app needs code before you can connect it. Until the AI chat has built something, Connect GitHub is unavailable.
  • An app syncs with one Git provider at a time. To sync with GitLab instead, see GitLab Integration.
  • If you previously connected to GitHub using the legacy Export to GitHub 1-way integration, click Looking for the old setup? under Git connection to disconnect it and reconnect using 2-way sync.
  • When you connect your app to GitHub, your changes are synced to the connected repository automatically. There’s no option to manually push updates from your Base44 app to GitHub.
  • After you connect GitHub to your app, you cannot use Version History to revert to versions from before the GitHub integration. Those older versions are not stored in your GitHub repository, so trying to revert to them results in an error. Only versions that exist in the connected GitHub repo are available to restore.

Connect your app

The More actions menu in the app editor with Git connection open, showing Connect GitHub and Connect GitLab, and the cursor on Connect GitHub.

Connect to GitHub for 2-way sync

To sync your app with GitHub:
  1. Go to your app editor.
  2. Click the More actions icon at the top right.
  3. Click Git connection.
  4. Click Connect GitHub.
  5. Select a GitHub organization or account from the Connection list.
    The list shows the GitHub organizations and accounts connected to your workspace. If yours isn’t listed, click Add connection and follow the prompts to add it. By default, only workspace owners and admins can add connections.
  6. Enter a name under Name your new repository.
  7. Click Create Repository.
After connecting, click the Git connection icon at the top right of your app editor, then click the icon next to the repository name to open it on GitHub. In a narrow browser window, the icon is under the More actions icon .
The GitHub connection details in the app editor showing Connected status, the connection, the repository name, and the cursor on the Go to repository icon.

View your connected GitHub repository

How your team writes to GitHub

GitHub connections belong to your workspace, not to one person’s account. Workspace admins manage them in your workspace’s Git settings, and sync keeps working if the member who connected an organization leaves the workspace. Your workspace admin chooses how members write to GitHub. The setting applies to every app in the workspace that syncs with GitHub:
  • Shared connection: Everyone writes through the workspace’s connection, without connecting a GitHub account of their own. Commits show Base44 as the author. This is the default.
  • Per user connection: Each member connects their own GitHub account and gets the access GitHub already gives them. Members without write access to the repository can’t edit or publish the app. Commits show under the member’s own name.
Base Code apps always use per user connections.
How organizations work in your workspace:
  • When you create a repository, you only see the GitHub organizations your workspace allows.
  • By default, only workspace owners and admins can add a new organization. Admins can let Editors add organizations too.
  • Connections made before GitHub moved to the workspace were moved automatically, so you don’t need to reconnect.

Set up local development

After you connect your app, you can clone its repository and work on it in your own tools. To set up your clone, sync your changes, and deploy backend features, see Local development with Git sync.

Disconnect from GitHub

You can disconnect a specific app from its GitHub repository, or disconnect a GitHub organization from your whole workspace. Moving an app to another workspace also disconnects its GitHub sync, and Base44 warns you before it does.
If you don’t see Disconnect repository under Git connection, it isn’t enabled for your account yet. Sync can’t be paused, so the only states are connected and disconnected.

Disconnect your repository

Disconnect your app from its GitHub repository if you no longer want to sync changes. Only the app owner or the member who connected the repository can disconnect it. To disconnect your repository:
  1. Go to your app editor.
  2. Click the Git connection icon at the top right.
    In a narrow browser window, the icon moves into a menu. Click the More actions icon , then Git connection.
  3. Click the More actions icon .
  4. Click Disconnect repository.
  5. Click Disconnect to confirm.
The disconnect process takes approximately 30 seconds and is only available when the AI agent is not actively making changes to your app.

Reconnect your repository

Reconnect your app to the repository it was disconnected from to resume syncing. Only the app owner can reconnect.
Reconnect restores only the repository you disconnected most recently. If you create a new repository, your app can’t reconnect to the original repository.
To reconnect your repository:
  1. Go to your app editor.
  2. Click the More actions icon at the top right.
  3. Click Git connection.
  4. Click Connect GitHub.
  5. In the Reconnect Repository dialog, click Reconnect.
When you can’t reconnect:
  • Both your app and the repository have new commits since they last matched.
  • The repository was renamed or deleted, or its default branch changed.
  • The repository was connected from a different workspace.
  • The workspace’s connection to the repository’s organization was disconnected. Ask a workspace admin to reconnect it in your workspace’s Git settings.
In these cases, click Create a new repository instead.

Disconnect an organization from your workspace

Disconnect a GitHub organization if you no longer want apps in your workspace to sync with it. Every app that syncs through the organization stops syncing, and the Base44 GitHub App stays installed on GitHub. Workspace owners, admins, and Editors can disconnect an organization. To disconnect an organization:
  1. Click your workspace name at the bottom left of your account.
  2. Click Workspace settings.
  3. Click Git under Build tools.
  4. Click the More actions icon next to the organization under Connections.
  5. Click Disconnect connection.
  6. Click Disconnect to confirm.