Git Panel
The Git Panel is located on the right side of The Terminal. It provides visual access to git repositories with branch visualization, commit history, and common version control operations.
The Git Panel has several tabs for different aspects of version control:
| Tab | Description |
|---|---|
| Graph | Visual commit graph with branch visualization |
| Changes | Working directory changes (staged, unstaged) |
| Stash | Stashed changes |
| Remotes | Remote repositories and branches |
Graph Tab
Section titled “Graph Tab”The Graph tab shows a visual representation of your commit history:
- Commit nodes — circles representing each commit
- Branch lines — colored lines showing branch structure
- Merge commits — shown with multiple parent connections
- HEAD indicator — shows your current position
Commit Details
Section titled “Commit Details”Click any commit to see:
- Commit hash (short and full)
- Author and date
- Commit message
- Changed files list
Branch Information
Section titled “Branch Information”The graph clearly shows:
- Current branch (highlighted)
- Remote tracking branches
- Tags and releases
Changes Tab
Section titled “Changes Tab”The Changes tab shows your working directory status:
Staged Changes
Section titled “Staged Changes”Files you’ve added to the staging area. These will be included in your next commit.
Unstaged Changes
Section titled “Unstaged Changes”Modified files that haven’t been staged yet.
Working Changes
Section titled “Working Changes”New files that haven’t been added to git tracking.
File Status
Section titled “File Status”| Status | Description |
|---|---|
| M | Modified |
| A | Added |
| D | Deleted |
| R | Renamed |
| C | Copied |
| U | Unmerged |
Actions
Section titled “Actions”- Stage — add changes to staging
- Unstage — remove from staging
- Discard — revert changes
- Diff — view changes inline
Stash Tab
Section titled “Stash Tab”Manage stashed changes:
- List all stashes
- Apply stash (with options to keep or drop)
- Drop stash to delete
- Create new stash from current changes
Remotes Tab
Section titled “Remotes Tab”Manage remote repositories:
- View configured remotes (origin, upstream, etc.)
- Fetch from remote
- Pull changes
- Push branches
- Manage remote branches
Keyboard Shortcuts
Section titled “Keyboard Shortcuts”| Shortcut | Action |
|---|---|
| Cmd/Ctrl + Shift + G | Focus Git panel |
| Cmd/Ctrl + P | Push |
| Cmd/Ctrl + Shift + P | Pull |
| Cmd/Ctrl + Enter | Commit staged changes |
Next Steps
Section titled “Next Steps”- Spaces — organize your workflow
- Terminal Panel — run git commands
- File Panel — browse repository files