Where does the bug appear (feature/product)?
Cursor IDE
Describe the Bug
due to team workflow restructuring, most of the current work is in non-main branch.
when I run ‘hi’ in worktree/main, cursor doesn’t produce error. However, when I run ‘hi’ in worktree/non-main, cursor outputs "Connection failed. If the problem persists, please check your internet connection or VPN.
Request ID: 9dd274e5-2d95-4fb4-8551-848ebd3cd278
" and also output on the lower right coner of cursor screen saying “fail to create git worktree. fail to execute git.”
cursor agent cannot run git.
Steps to Reproduce
- run ‘hi’ in worktree/main. no problem
- run ‘hi’ in worktree/non-main. outputs "Connection failed. If the problem persists, please check your internet connection or VPN.
Request ID: 9dd274e5-2d95-4fb4-8551-848ebd3cd278
" and also output on the lower right coner of cursor screen saying “fail to create git worktree. fail to execute git.”
Screenshots / Screen Recordings
Operating System
Windows 10/11
Current Cursor Version (Menu → About Cursor → Copy)
Version: 2.2.36 (system setup)
VSCode Version: 1.105.1
Commit: 55c9bc11e99cedd1fb93fbb7996abf779c583150
Date: 2025-12-18T06:25:21.733Z
Electron: 37.7.0
Chromium: 138.0.7204.251
Node.js: 22.20.0
V8: 13.8.258.32-electron.0
OS: Windows_NT x64 10.0.26200
For AI issues: which model did you use?
all models
Does this stop you from using Cursor
Yes - Cursor is unusable
