Work with git
Claude Code integrates with git to help with version control workflows directly in VS Code. Ask Claude to commit changes, create pull requests, or work across branches. To start Claude in an isolated worktree with its own files and branch, see Run parallel sessions with worktrees.
Create commits and pull requests
Claude can stage changes, write commit messages, and create pull requests based on your work:
text
commit my changes with a descriptive message
create a pr for this feature
summarize the changes I've made to the auth moduleWhen creating pull requests, Claude generates descriptions based on the actual code changes and can add context about testing or implementation decisions.