Loading learning content…
Loading learning content…
Let Claude manage commits, branches, and PRs while you focus on outcomes.
Read through the lesson, mark it complete when the concept is clear, then move to the next lesson in the sequence or jump back to the module map.
Claude Code has full git capabilities: status, diff, commit, branch, push, PR creation. It can handle the entire commit workflow while you focus on the feature.
Always use conventional commit format:
feat: add user avatar upload to profile page
fix: resolve race condition in session refresh
refactor: extract auth logic into dedicated hook
chore: upgrade Next.js 15 → 16
Claude will suggest commit messages in this format. Review them before accepting — commit messages are documentation.
For tracked work, use the project ticket format:
cc-113-learning-center
feat/user-avatars
fix/session-race-condition
Ask Claude to:
git status to review all changesgit diff to inspect diffs before staginggit add . blindly)git push --force on main/master (never)git reset --hard without explicit approvalgit commit --no-verify (bypasses hooks)Configure these as PreToolUse hooks to enforce at the system level, not just as instructions.
When creating PRs, Claude should:
git diff main...HEAD to see all changes.github/The PR title and body are the permanent record of your work — invest in them.