Configure Git User Information
You need to configure your user information the first time you use it:This information is used for Git commit records. We recommend using the same email address as your GitHub account.

Connect a Remote Repository
Configure GitHub Credentials
Enter Token
Enter your GitHub Personal Access Token (click the Create Tokens button in the upper-right corner of the input field and follow the prompts to create one)

Initialize a Git Repository
After initialization succeeds, you will see the following interface displayed on the “Source Control” page:

Commit Changes
Stage Files
Click the + button next to a file to stage a single file, or click Stage All to stage all changes
View History
You can view the commit history in the Git panel:- Commit List — Displays all commit records
- Commit Details — Click a commit to view the changed files
- File Diff — View specific code changes

Operate Git with Claude Code
You can ask Claude Code to help you perform Git operations:| Request | Claude Code Action |
|---|---|
| ”Commit these changes” | Stage files and create a commit |
| ”Push to GitHub” | Run git push |
| ”Create a new branch feature/login” | Create and switch to the branch |
| ”View commit history” | Display git log |
| ”Roll back to the previous commit” | Run git reset |
Related Documentation
Project Management
Manage project information
Chat Mode
In Chat Mode, you can ask Claude Code to help you complete tasks through a dialog box.