Answer: From inside a session, run `/branch` with an optional name (e.g., `/branch try-streaming-approach`); from the command line, combine `--continue` or `--resume` with `--fork-session`. Status: Confirmed Entry: tool/claude-code/features/branch-session Revision: 3 Digest: sha256:c81ed953ea89b167 (changes whenever the content changes) Timeline: Created: 2026-11-13T02:28:09Z Last changed: 2026-11-16T12:12:41Z (command-line flags: — → --continue) Last verified: 2026-11-20T12:25:19Z Next check: 2026-11-21T12:25:19Z Check interval: Daily Expected change: No fixed schedule Data: Field | Value | Source | As of in-session command | /branch | [1] | 2026-11-20 example branch command | /branch try-streaming-approach | [1] | 2026-11-20 command-line flags | --continue | [1] | 2026-11-20 fork flag | --fork-session | [1] | 2026-11-20 return to original | /resume | [1] | 2026-11-20 Sources: [1] Anthropic. "Manage sessions". https://code.claude.com/docs/en/sessions.md Role: primary. Accessed: 2026-11-20T12:25:19Z Quote: "From inside a session, run `/branch` with an optional name:" (Supports: in-session command) Quote: "/branch try-streaming-approach" (Supports: example branch command) Quote: "From the command line, combine `--continue` or `--resume` with `--fork-session`:" (Supports: command-line flags) Quote: "claude --continue --fork-session" (Supports: fork flag) Quote: "return to it with `/resume ` or by passing its ID to `/resume`." (Supports: return to original) Published: 2026-11-20T02:54:19Z Snapshot SHA-256: aedb0e5e1a91e0ff098b7ea81bc825aa7be451eea083d94389d347b206ec8324 (captured 2026-11-20T12:25:17Z) Verification: Method: Automated extraction from [1] with deepseek-flash (JSON output, thinking disabled). Every value was checked by code to appear verbatim in a quoted passage of [1]. Cross-check: not-available at 2026-11-20T12:25:19Z. No independent second source is configured for this entry Last successful check: 2026-11-20T12:25:19Z Last attempt: 2026-11-20T12:25:19Z Notes and limitations: Extracted automatically from a single official source (section "Branch a session"). Related: https://latestn.com/tool/claude-code/features/browse-install-anthropic-marketplaces Where can I browse and install plugins from Anthropic's official and community marketplaces in Claude Code? https://latestn.com/tool/claude-code/features/built-in-output-styles What built-in output styles does Claude Code offer? https://latestn.com/tool/claude-code/features/cache-lifetime-ttl How long does Claude Code's prompt cache last and can I choose the TTL? https://latestn.com/tool/claude-code/features/actions-invalidate-cache Which actions in Claude Code invalidate the prompt cache? https://latestn.com/tool/claude-code/features/advisor-requirements What are the requirements and limitations for using the advisor tool in Claude Code? https://latestn.com/tool/claude-code/features/answering-questions How should I answer teammates' questions about Claude Code? https://latestn.com/tool/ All entries in AI tools Change log: Time | Event | Change | Source 2026-11-16T12:12:41Z | changed | command-line flags: — → --continue | [1] 2026-11-16T12:12:41Z | changed | command line flags: --continue → — | [1] 2026-11-13T12:14:28Z | changed | command line flags: — → --continue | [1] 2026-11-13T12:14:28Z | changed | command-line flags: --continue → — | [1] 2026-11-13T02:28:09Z | added | Entry created | — Changes for this entry as a feed: https://latestn.com/tool/claude-code/features/branch-session/latest Challenge this entry: Open challenges: None How: If a value here is wrong or out of date, send what is wrong and a link to evidence. Challenges are queued and checked against the evidence; they do not change the entry by themselves. If the entry changes as a result, the change log says so. Form: https://latestn.com/dispute/tool/claude-code/features/branch-session POST: https://latestn.com/dispute/tool/claude-code/features/branch-session with claim, evidence_url, and optionally field and contact (form-encoded or JSON) GET: https://latestn.com/dispute/tool/claude-code/features/branch-session?claim={what is wrong}&evidence_url={link} How to cite: LatestN. (2026). How do I branch a Claude Code session to try a different approach? Revision 3, last verified 2026-11-20T12:25:19Z. https://latestn.com/tool/claude-code/features/branch-session (accessed 2026-11-21T09:52:59Z). @misc{LatestN_tool_claude_code_features_branch_session_r3, title = {How do I branch a Claude Code session to try a different approach?}, author = {{LatestN}}, year = {2026}, howpublished = {\url{https://latestn.com/tool/claude-code/features/branch-session}}, note = {Revision 3; digest sha256:c81ed953ea89b167; last verified 2026-11-20T12:25:19Z; accessed 2026-11-21T09:52:59Z} } Reuse: License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/) Attribution: Copying and adapting are allowed, including commercially, if you credit LatestN and link to the entry you used. Each entry ends with a ready-made citation. URL: https://latestn.com/tool/claude-code/features/branch-session