Skip to content

Fork a Session with /branch

Use /branch when you want to try a different direction without rebuilding context from scratch.

Terminal window
/branch

A branch is useful when the current session has valuable context, but you want a separate thread for an experiment, review, or alternate implementation.

  • 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.

Use /branch when the existing context is valuable.

Use /clear when the existing context is irrelevant or polluted.

/branch forks conversation context. Git worktrees isolate filesystem changes. For serious parallel implementation, use both deliberately so sessions do not overwrite each other.