Session 5
Git, commits & pull requests
Goal. Let Claude handle Git conversationally — staging, commit messages, branches, and PRs — without leaving the terminal.
- 1Ask in plain English: "what files have I changed?", "commit my changes with a descriptive message", "create a branch called feature/normalize-counts".
- 2For review-as-you-go, press Shift+Tab into acceptEdits mode: Claude edits without prompting each time and you review afterward with
git diff. - 3Claude works directly with git — it stages changes, writes the message, opens pull requests, and can help resolve merge conflicts.
You'll see. A clean commit (and optionally a PR) that Claude staged and described for you, from a one-line request.
Cost. Git operations are ordinary turns — they draw on your plan like any other task.
Takeaway. You never have to context-switch to git — describe the version-control step and Claude runs it.