Version Control can't detect Git folder

Where does the bug appear (feature/product)?

Cursor IDE

Describe the Bug

Version control can’t detect the git folder in the main working directory. It is stuck at the “Scanning folder for Git repositories…” message.

Steps to Reproduce

Nothing specific. Open a workspace, and it fails to detect the git folder.

Expected Behavior

Detect the folder and sync local repo.

Screenshots / Screen Recordings

Operating System

Linux

Current Cursor Version (Menu → About Cursor → Copy)

Version: 2.2.17
VSCode Version: 1.105.1
Commit: cf858ca030e9c9a99ea444ec6efcbcfc40bfda70
Date: 2025-12-11T18:30:06.649Z
Electron: 37.7.0
Chromium: 138.0.7204.251
Node.js: 22.20.0
V8: 13.8.258.32-electron.0
OS: Linux x64 6.14.0-37-generic

Additional Information

I tried different folders and projects, all failed.

Does this stop you from using Cursor

Yes - Cursor is unusable

Same here, really frustrating, starting using AntiGravity.

Version: 2.2.17
VSCode Version: 1.105.1
Commit: cf858ca030e9c9a99ea444ec6efcbcfc40bfda70
Date: 2025-12-11T18:30:06.649Z
Electron: 37.7.0
Chromium: 138.0.7204.251
Node.js: 22.20.0
V8: 13.8.258.32-electron.0
OS: Darwin arm64 25.2.0

I revert Cursor to to follow version (2.1.41), the source code functionality starts working.

You can download the older version from GitHub - flyeric0212/cursor-history-links: 自动抓取并维护Cursor各平台(Windows、macOS、Linux)的历史版本下载链接,让用户可以根据需要安装或降级到特定版本。

Version: 2.1.41
VSCode Version: 1.105.1
Commit: 1321aa9140784391e83a406174345e818fe156f0
Date: 2025-11-30T18:58:57.968Z
Electron: 37.7.0
Chromium: 138.0.7204.251
Node.js: 22.20.0
V8: 13.8.258.32-electron.0
OS: Darwin arm64 25.2.0
2 Likes

Hey, thanks for the report. This looks like a regression in 2.2.17. I’ll escalate the bug to engineering.

Could you help with diagnostics:

  • View > Output > select Git and share logs from the moment the workspace starts
  • Help > Toggle Developer Tools > Console and attach errors
  • Installed git extensions and the result when launching with extensions disabled:
  • From terminal: cursor --disable-extensions
  • Does the same repo work in VS Code 1.105.1 on this machine?

Please also check:

  • Settings > Git: Enabled is on
  • Settings > Git: Auto Repository Detection is on
  • Open the folder that contains .git directly, not a higher-level folder

Please send the requested info and screenshots. I’ll update the thread as soon as we have a fix or a build with the patch.

Hey!

I could gather some logs from Developer Tools, but couldn’t find Git Output View.

  • Tried disabling extensions - no luck
  • Latest VS Code is working fine with my repo
    Version: 1.107.0
    Commit: 618725e67565b290ba4da6fe2d29f8fa1d4e3622
    Date: 2025-12-10T07:43:47.883Z
    Electron: 39.2.3
    ElectronBuildId: 12895514
    Chromium: 142.0.7444.175
    Node.js: 22.21.1
    V8: 14.2.231.21-electron.0
    OS: Linux x64 6.14.0-37-generic

All three checks are done, and they are OK

vscode-app-1765555992924.log.txt (9.7 KB)

Any updates on this? I tried AppImage too but no luck. I con not use Cursor for the last week and will switch if this is not resolved.

Still not resolved after several patch updates, please.


Version: 2.2.36
VSCode Version: 1.105.1
Commit: 55c9bc11e99cedd1fb93fbb7996abf779c583150
Date: 2025-12-18T06:25:21.733Z (5 hrs ago)
Electron: 37.7.0
Chromium: 138.0.7204.251
Node.js: 22.20.0
V8: 13.8.258.32-electron.0
OS: Darwin arm64 25.3.0