Calmbu
Claude Code recovery centreGit + Claude Code

Does Git back up Claude Code sessions and memory?

Separate repository history from local Claude Code transcripts, auto memory, user settings and personal customisations.

DIRECT ANSWER

What you need to know

Git protects committed repository content, including a project CLAUDE.md or .claude files when you intentionally track them. It does not normally protect user-level Claude Code session transcripts, auto memory, personal settings or other state under your Windows user profile. Use Git for code and a separate recovery plan for supported local Claude Code continuity.

What Git can protect

  • Committed source history, branches and tags
  • Tracked project CLAUDE.md and .claude rules or skills
  • Shared project configuration deliberately committed without secrets
  • Collaboration through remote repositories

What usually sits outside Git

  • Local Claude Code JSONL session transcripts
  • Per-project auto memory stored under the user profile
  • Personal settings, commands, agents and skills
  • File history and other Claude-owned application state
  • Uncommitted project files not covered by another backup

Use both layers

  1. 01

    Keep code in Git

    Commit and push meaningful work; back up important uncommitted files separately.

  2. 02

    Protect Claude Code continuity

    Back up supported local sessions, memory and customisations with credential exclusions and recovery proof.

  3. 03

    Recover safely

    Reconstruct local Claude Code state outside the live directory before reintroducing anything.

THE CALMBU BOUNDARY

What Calmbu currently claims

Calmbu complements Git by protecting approved native Windows Claude Code workspace data while keeping known credentials and original project source files outside standard protection.

See the recovery model How Calmbu verifies its claims

Common questions

If CLAUDE.md is committed, am I fully protected?

That protects the committed instruction file. It does not automatically include local transcripts, auto memory, personal settings or uncommitted work.

Can Calmbu repair Git history?

No. Use Git tools and your remote repository for Git history. Calmbu protects supported Claude Code workspace continuity around it.

Should .claude files be committed?

Project-scoped files can be committed when they are intentionally shared and contain no secrets. Personal user-level state remains separate.

SOURCE BOUNDARY

Official references used for Claude Code facts

Anthropic documentation establishes Claude Code behaviour. Calmbu-specific statements describe the current product contract and are not presented as Anthropic guidance.

NEXT USEFUL ANSWERS

Continue the recovery plan