Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Git ToggleNew to Visual Studio Code? Get it now.
Git Toggle

Git Toggle

Talal Almrka

| (0) | Free
Quickly enable or disable Git integration for the current VS Code workspace.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Git Toggle

Quickly enable or disable Git integration for the current VS Code workspace.

Features

  • Toggle Git integration with one click.
  • Dedicated Activity Bar interface.
  • Status Bar indicator showing the current Git state.
  • Automatically reflects changes to git.enabled.
  • Workspace-specific configuration.
  • Restores the inherited Git setting when Git is enabled again.

How It Works

Git Toggle controls the built-in VS Code git.enabled setting for the current workspace.

When Git is disabled, the extension sets:

git.enabled to false in the workspace settings.

When Git is enabled again, the workspace override is removed so VS Code can use the inherited Git setting.

Usage

  1. Open a VS Code workspace.
  2. Click the Git Toggle icon in the Activity Bar.
  3. Use the toggle button to enable or disable Git.

You can also use the Status Bar indicator or the Toggle Git command from the Command Palette.

Requirements

Visual Studio Code 1.110.0 or later.

Extension Settings

This extension does not add additional settings.

It controls the built-in:

git.enabled

workspace setting.

License

MIT

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2026 Microsoft