Git Backup for Claude Code: Review and Record Local Changes
Git Backup from the JuneAgent project gives Claude Code a workflow for reviewing changes in the current Git project and optionally making a local commit with a Conventional Commits message.
中文Install in Claude Code
Use Claude Code CLI, Git, and a local repository. The skill consists of Markdown. Reviewing changes requires no remote repository, token, or network connection.
- Open skills/git-backup at the pinned GitHub commit. Copy the full directory into .claude/skills/ in a test project. It should contain SKILL.md.
- Start a new Claude Code session in a local Git repository and select git-backup.
- Choose the report-only strategy first. Edit a harmless text file in the test repository and compare the summary with the working-tree status.
Example task
In a temporary Git repository, change one line of a tracked sample.txt file. In Claude Code, use this prompt.
Use git-backup with the report-only strategy. Show the current Git status and summarize the change to sample.txt. This is a read-only review.What to check
The summary identifies sample.txt as modified. The index and latest commit remain the same after the check.
Original SKILL.md on GitHub · Updated
Frequently asked question
Does Git Backup send files anywhere?
The example reads Git status and diffs locally. If you want to save a milestone, select the strategy that asks before creating a local commit.