liveBook · Manning

Git repository

As explained in Claude at Work

A Git repository is a directory and version-control database that stores files, commits, and their change history.

A Git repository is a folder whose files have version history. Giving Claude permission to work in a local repository lets it read and edit project files directly, without an upload-download routine. section 3.0

Commits preserve project states; diffs show what changed, and reverting restores an earlier state. Review the diff before keeping Claude’s changes or pushing them to GitHub. section 3.4

Prepare a design project

Ask Claude to copy design documents into a project folder, initialize it as a Git repository, and make an initial commit. Then request a technology change, review the revised documents, and commit again. section 3.8

How Claude at Work covers it

How deep it goes
Explains commits, diffs, pushes, and reverts as review and recovery tools, but stops short of Git internals or command syntax.
Examples
Uses research and portfolio folders, Markdown revision, and design documents updated from .NET to Python.
What you can do after
Apply Git to version Claude-edited project files, inspect diffs, commit accepted changes, and revert unwanted ones.
How it connects
Connects local Git repositories with Claude Desktop, Cowork Projects, GitHub, Markdown, and diff review.

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Claude at Work. The section links point to the parts of the book it draws on.