Agent WIndow - Select branch not working

Where does the bug appear (feature/product)?

Cursor IDE

Describe the Bug

Select branch is not working in Agent Window. After clicking tehere is dropdown with loading but without branches.
Windows, WSL, Ubuntu

Steps to Reproduce

Click Select branch

Operating System

Windows 10/11

Version Information

Version: 3.3.16 (system setup)
VSCode Version: 1.105.1
Commit: 7f0f522221d0ba220e4edb766bb3c47c08c14ab0
Date: 2026-05-06T20:40:56.501Z
Layout: editor
Build Type: Stable
Release Track: Early Access
Electron: 39.8.1
Chromium: 142.0.7444.265
Node.js: 22.22.1
V8: 14.2.231.22-electron.0
OS: Windows_NT x64 10.0.19045

Additional Information

wsl, windows 10, agent window

Does this stop you from using Cursor

Sometimes - I can sometimes use Cursor

Hey, thanks for the report. This is a known bug with the branch picker in the Agent Window on remote extension hosts in WSL and Remote-SSH. There’s a similar thread with details here: WSL branch list does not load, cannot use “Link to master”. There’s no ETA for a fix yet, but I added your case on 3.3.16 Early Access as another data point.

Things you can try:

  • Ctrl+Shift+P → Developer: Reload Window. Sometimes the remote extension host restarts and the branches show up.
  • In a WSL terminal, run time git branch -a. If the command itself is slow, it might not finish within the 10s timeout.

If the workarounds don’t help, send the number of branches with git branch -a | wc -l, and let me know if it also reproduces on a repo with a single branch. I’ll post here once there’s an update on the fix.