Why it belongs in the workshop

Git makes changes inspectable and gives semantic revisions a history. A commit records a project state; it does not prove the content is correct or that the state has been deployed.

AI-assisted use

Keep generated changes small enough to review. Inspect the diff before committing, and separate unrelated work. Obtain approval before rewriting history or publishing branches. Never assume ignored files cannot contain sensitive information.

For an ordinary undo on a shared branch, a reviewed git revert records a new commit that reverses an earlier one. It differs from rewriting a branch with reset.

Authoritative resource

Pro Git and official documentation