Skip to content
| Marketplace
Sign in
Visual Studio Code>SCM Providers>Git Info - Status BarNew to Visual Studio Code? Get it now.
Git Info - Status Bar

Git Info - Status Bar

Nitish Singh

|
26 installs
| (0) | Free
Display git user.name and user.email in VS Code status bar
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Git Info — Status Bar

👉 Quickly see your Git identity, branch, and remotes — right from the VS Code status bar.

Ever pushed a commit and realized you used the wrong user.email? Or wondered what remote URL is configured in this repo? Git Info keeps your Git configuration one click away — without ever leaving your editor.


✨ Why You'll Love It

  • 🪪 Instantly verify your Git identity — no more wrong-author commits
  • 🌿 See your current branch & last commit at a glance
  • 🌐 View all remotes (origin, upstream, etc.) with git remote -v info
  • 🔒 Tokens are masked in remote URLs for security
  • ⚡ Zero startup impact — info is fetched only when you need it
  • 🎨 Beautiful native UI — matches your VS Code theme

🚀 Quick Start

  1. Install the extension from the Marketplace
  2. Look for 👉 Git Info in the bottom-left status bar
  3. Hover to see a quick preview
  4. Click to open the full details panel

That's it. No setup, no configuration needed.


🎯 What You Get

👀 Hover Preview

Hover over the status bar item to instantly see:

📊 Git Configuration

👤 Name: Nitish Singh
📧 Email:
🌿 Branch: main
🌐 Remotes: origin

📁 Workspace: /Users/you/projects/my-app

💡 Click to view full details

📋 Detailed Panel

Click the status bar to open a full panel with:

Section What It Shows
👥 User user.name and user.email from your Git config
🌿 Branch & Commit Current branch and the last commit (hash, message, author, time)
🌐 Remotes All remotes with fetch/push URLs (tokens auto-masked)
📁 Workspace Current project path

👥 Who Is This For?

  • Developers juggling multiple Git identities (work, personal, open source)
  • Teams using monorepos or multiple remotes (origin + upstream)
  • DevOps & contributors who frequently switch between repos
  • Anyone who wants Git info at a glance without typing terminal commands

🎮 Commands

Open the Command Palette (Cmd+Shift+P / Ctrl+Shift+P):

Command Description
Git Info: Show Details Open the full info panel
Git Info: Refresh Manually update Git information
Git Info: Toggle Status Bar Show/hide the status bar item
Git Info: Show Logs View extension logs (for debugging)

⚙️ Settings

Customize via VS Code Settings (Cmd+,) or settings.json:

{
  // Icon shown before "Git Info" in the status bar
  "gitInfo.iconPrefix": "👉",

  // Show the status bar item even if Git is not configured
  "gitInfo.showWhenEmpty": true,

  // Auto-refresh Git info periodically (disabled by default)
  "gitInfo.autoRefresh": false,

  // Auto-refresh interval in milliseconds (only if autoRefresh is true)
  "gitInfo.refreshInterval": 30000,
}

💡 Tip: Auto-refresh is disabled by default to save resources. Use the Refresh command whenever you change branches or update remotes.


🔒 Security

Remote URLs containing authentication tokens are automatically masked before being displayed:

Before: https://user:ghp_abc123xyz@github.com/user/repo.git
After:  https://user:***TOKEN***@github.com/user/repo.git

Your tokens never appear in the UI or logs.


📋 Requirements

  • VS Code 1.74.0 or higher
  • Git installed and available in your PATH

🐛 Known Issues

  • In multi-root workspaces, only the first workspace folder's Git config is shown.

Found a bug? Please open an issue.


📝 Release Notes

1.1.1 — Latest

  • 📝 Improved README and marketplace presentation
  • 🐛 Minor formatting and documentation fixes

1.1.0

  • 🌐 NEW: Show all Git remotes (git remote -v) with fetch & push URLs
  • 🌿 NEW: Display current branch and last commit info
  • 🔒 NEW: Automatic token masking in remote URLs for security
  • ⏸️ CHANGED: Auto-refresh is now disabled by default (use Refresh command)
  • 🐛 FIXED: Command IDs and configuration namespace mismatches
  • ✨ IMPROVED: Cleaner panel layout with sectioned information

1.0.0

  • 🎉 Initial release
  • Single clickable status bar item
  • Hover preview tooltip
  • Detailed webview panel
  • Lazy loading for zero startup impact
  • Configurable settings

❤️ Enjoying Git Info?

If this extension makes your workflow smoother:

  • ⭐ Rate it on the Marketplace
  • 🐛 Report issues or suggest features
  • 📢 Share it with your team!

Made with ❤️ by Nitish Singh

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
  • Your Privacy Choices
  • Consumer Health Privacy
© 2026 Microsoft