WSL can't add github remote cursor rules

Where does the bug appear (feature/product)?

Cursor IDE

Describe the Bug

When I try to add a project rule(skill) based on a github repo, it fails to fetch. It seems it is trying to use a git binary path from linux but in a windows execution environment. I tried making sure git was also installed on windows but that didn’t help.

Failed to clone repository: Error executing git: spawn /usr/bin/git ENOENT, cwd: \home\lukasdeco.cursor\projects\home-lukasdeco-Repos-protocol-v2-mono\rules, command: “git clone --depth 1 GitHub - sendaifun/skills: a public marketplace of all solana-related skills for agents to learn from! skills”

Steps to Reproduce

Install cursor on windows.

Install wsl

Setup a project in wsl, open it in cursor with the WSL extension

Try to add a project rule for a github repo.(remote rule)

Expected Behavior

Rule added successfully.

Operating System

Windows 10/11

Version Information

2.2.44
VSCODE Version 1.105.1
Electron 27.7.0
Chromium: 138.0.7204.251
Node: 22.20.0

Does this stop you from using Cursor

No - Cursor works, but with this issue

Hey, this is a duplicate of a known bug: Cursor Wsl2 failed to clone remote rule from github

The issue was that Cursor used Windows path separators (\) instead of Linux ones (/) when working in WSL2. This should be fixed now.

You’re on version 2.2.44. Can you try updating to the latest version (if there’s a newer one)? Check Help > Check for Updates.

If it still happens on the latest version, let me know. Then it’s a regression and we’ll need to reopen it.