Skip to content

Remote workspaces

Git Checkout is a workspace extension. On WSL, SSH, Dev Containers and Codespaces it runs on the remote machine, so Git, the folder picker and the clone destination are all on that machine. Quick Launch words its Reveal action neutrally (“Reveal in File Manager”) in a remote window.

Git Checkout runs git with api.git.path from vscode.git on the workspace host. A Windows drive-letter or UNC path is used only when that host is Windows. On WSL, Linux SSH, and a Linux Dev Container, that path is ignored, commands stay unavailable, and the Git Checkout output explains why.

Confirm the host:

  1. Developer: Show Running Extensions lists Git Checkout (rkonit.gitcheckout) on the remote host, with extension kind workspace.
  2. Git Checkout: Show Output, or the status-bar tooltip, shows remote, extension kind, and git.path. git.path must be a binary on that host.

If git.path is (unavailable) and the output mentions a Windows path, vscode.git reported your local Windows git. On the remote, set git.path to that host’s git (or clear the User value) and reload the window.