Fork a Session with /branch
Use /branch when you want to try a different direction without rebuilding context from scratch.
/branchA branch is useful when the current session has valuable context, but you want a separate thread for an experiment, review, or alternate implementation.
Good uses
Section titled “Good uses”- Try two approaches to the same feature.
- Ask for an independent review while preserving context.
- Explore a risky change without derailing the main session.
- Split a large task into related workstreams.
Branch vs. clear
Section titled “Branch vs. clear”Use /branch when the existing context is valuable.
Use /clear when the existing context is irrelevant or polluted.
Branch vs. worktree
Section titled “Branch vs. worktree”/branch forks conversation context. Git worktrees isolate filesystem changes. For serious parallel implementation, use both deliberately so sessions do not overwrite each other.