/fork vs /branch

/fork copies the conversation into a new background session and keeps you where you are; /branch switches you into a new branch of the conversation.

/fork

This command copies the current conversation into a new background session, allowing you to continue working in the original session. If a prompt is provided, the copied session starts working immediately; otherwise, it waits for its first prompt.

Use it when

You want a copy working on something in the background while you carry on in the original. Pass a prompt and the copy starts immediately.

/branch

Creates a branch of the current conversation, allowing you to explore different directions without losing the original. It switches you into the new branch while preserving the original, which you can return to later using `/resume`.

Use it when

You want to explore a different direction yourself without losing the original, which you can return to with /resume.

More comparisons

Never mix them up again

/cards has a scenario quiz that asks which command fits the situation.