How to See Git Status in VS Code File Explorer

Visual Studio Code provides built-in integration with Git, allowing you to track the status of your files directly within the file explorer. This guide explains how to view, enable, and customize Git status indicators—such as color-coding and badges—directly in the VS Code Explorer tree to streamline your development workflow.

Built-In Git Status Indicators

By default, Visual Studio Code automatically visualizes the Git status of your files and folders in the Explorer side bar. Changes are indicated through two visual cues:

How to Enable or Configure Git Status in Explorer

If you do not see these visual indicators, or if you want to customize how they behave, you can adjust your VS Code settings:

  1. Open the Settings editor by pressing Ctrl + , (Windows/Linux) or Cmd + , (macOS).
  2. In the search bar at the top, type Git Decorations.
  3. Ensure the following settings are configured to your preference:
    • Git: Decorations Enabled (git.decorations.enabled): Check this box to enable color-coding and badges for Git status in the explorer.
    • Explorer: Decorations Badges (explorer.decorations.badges): Check this box to display the letter badges (like M, U, or A) next to files.
    • Explorer: Decorations Colors (explorer.decorations.colors): Check this box to enable color changes for modified, untracked, and ignored files.

Troubleshooting Missing Git Status

If your files are not showing any Git status indicators in the Explorer tree, verify the following: