Workspaces
Run each task in its own workspace
Give each coding task its own branch, worktree and agent session.

Keep each task on its own branch
Choose a repository and a target branch. BetterCoding creates a working branch and a separate git worktree for the task.

Switch between tasks
Give each task its own worktree. Use the workspace list to switch tasks.

Test work in the same workspace
Each workspace has a terminal and a dev server. Open Preview to check the application before you merge.

Questions about workspaces
What is a git worktree?
A worktree is a separate checkout of a Git repository. BetterCoding uses it to keep the task's files on its working branch.
Can a workspace use more than one repository?
Yes. Choose the repositories for the task. Each repository has its own Git state and target branch.
How do I start a workspace?
Select a repository and a target branch. Give the agent a prompt for the task.