
Work on several branches alongside your main app
Test a redesign
Keep your live app ready
Build a feature that launches later
Work in parallel
How branches work
Your app’s main version is called main. When you create a branch, Base44 starts a separate line of work from the current state of main. Each branch has its own:- Chat. The conversation on a branch is separate from main, and the AI keeps the context of what you built before.
- Preview. You see the branch’s changes in a dedicated live preview, while main stays untouched.
- Copy of your app’s design and pages. Changes you make on a branch stay on that branch until you merge them.
- Build. Each branch builds on its own, so branches run in parallel and work on one keeps going while you build on another.
- Your app’s data. Branches read and write the same live records as main.
- Connections and automation. Integrations, secrets, automations, workflows, and in-app agents.
- App settings and publishing. Your app’s settings, domains, and published version.
Creating a branch
Describe what you want to build, and Base44 creates the branch, names it based on your first message, and starts building right away. To create a branch:- In the app editor, click your app’s name at the top of the chat panel.
- Click Create new branch.
- Pick one of the suggestions, or type what you want to build in the chat box.
- Send the message.

Creating your first branch from the branch menu
Working on a branch
While you are on a branch, the branch’s name replaces your app’s name at the top of the chat panel, and a spinning icon shows when the AI is working. You build on a branch the same way you build on main: describe what you want in the chat. A few things work differently on a branch:- Merge to main replaces the Publish button. You publish changes from main after merging.
- The preview shows the branch’s version of your app.
- The page URL includes the branch, so you can share a link that opens the app editor on that branch.
- Publishing your app
- Editing your data structure (entity schemas)
- Creating or changing secrets, connectors, automations, workflows, and in-app agents
- Editing code directly in the code editor
- Changing your app’s theme settings
- Restoring an earlier version from version history
Switching between branches
You can move between main and your branches at any time, and every branch keeps its changes until you merge it. On a branch, you can also click the X next to Merge to main to exit back to main. To switch to another branch or back to main:- Click the branch name at the top of the chat panel.
- Select a branch from the list, or select Main chat to return to main.

Switching between main and your branches
Updating a branch with changes from main
If main changes while your branch is open, a banner appears above the chat box on the branch. It tells you how much changed on main and whether any of it overlaps with your branch. When you update, the AI combines main’s changes with your branch. If some changes overlap, the AI resolves them for you. If the two versions genuinely conflict, the AI asks you a question in the chat so you can decide what to keep. To bring main’s latest changes into your branch:- On the branch, find the update banner above the chat box.
- Click Update branch.
Merging a branch into main
Merging brings everything you built on the branch into main. Your changes reach your app’s users only when you publish from main, so you decide exactly what goes out and when. After the merge, a summary of the branch’s changes appears in main’s chat, and the branch stays in your branch list as merged, so you can still read its chat history, but it becomes read-only. To merge a branch:- On the branch, click Merge to main at the top of the editor.
- Review the confirmation, then click Merge to main.
FAQs
Click a question below to learn more about branches.Can I publish my app from a branch?
Can I publish my app from a branch?
Does a branch have its own data?
Does a branch have its own data?
How many branches can I have?
How many branches can I have?
What happens to a branch after I merge it?
What happens to a branch after I merge it?
Can my team and I work on different branches at the same time?
Can my team and I work on different branches at the same time?
Do branches use extra credits?
Do branches use extra credits?
Can I use branches on an app connected to GitHub?
Can I use branches on an app connected to GitHub?
Can I connect my app to GitHub while I have branches?
Can I connect my app to GitHub while I have branches?