Configure Git User Information
You need to configure your user information the first time you use it:1
Open Settings
Go to Settings > Git
2
Fill in Information
Enter your username and email
3
Save
Click the save button
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
1
Open Git Settings
Go to Settings > Git
2
Add Credentials
In the “Git Credentials” section, click the + Add button
3
Enter Username
Enter your GitHub Username
4
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)
5
Click Save
Click the Save Credentials button

Initialize a Git Repository
1
Open the Git Panel
Click the Source Control tab in the top tab bar
2
Create a Repository
Create a new empty repository on GitHub
3
Initialize
Enter the remote repository URL and click the Bind button to complete Git repository initialization

Commit Changes
1
Stage Files
Click the + button next to a file to stage a single file, or click Stage All to stage all changes
2
Write a Commit Message
Describe your changes in the commit message input field
3
Commit
Click the Commit button to commit your changes to the local repository
4
Publish
Click the Publish button to publish your changes to the remote repository
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: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.