This backup solution prevents permanent loss of your Claude Code conversations by automatically committing them to a git repository every hour.
Claude Code stores conversation history in .jsonl
files but automatically purges files after 30 days to manage disk space. This means: