Hi, I’ve been using this tool with Fork for quite some time and it has always worked flawlessly. I installed everything according to the instructions and selected the Git instance as shown below:
Recently, however, Fork started reporting an issue when trying to read my repositories:
⚠️ 2026-03-16 15:03:01.173 Refreshing repository status failed: fatal: detected dubious ownership in repository at '//wsl.localhost/SpitfireWSLImage2/projects/MyRepo'
To add an exception for this directory, call:
git config --global --add safe.directory '%(prefix)///wsl.localhost/SpitfireWSLImage2/projects/MyRepo'
This has happened before when accessing a repository in WSL using the Windows Git instance. I checked Fork’s Git settings and noticed it had been reset to the default Windows version. I tried switching back to the Wslgit version, but it didn’t seem to take effect until I restarted Fork. Shortly after, it switched back to the Windows Git instance again.
I opened Fork’s log file and tried selecting Wslgit again, with the following result:
🔷 2026-03-16 14:49:44.273 Running 'C:\Users\user1\wslgit\bin\git.exe version'
⚠️ 2026-03-16 14:49:44.376 Shell request 'C:\Users\mb1052228\wslgit\bin\git.exe version' failed: '
thread 'main' (35636) panicked at src\main.rs:511:14:
Failed to execute command 'git -c credential.helper= -c "credential.helper=$(wslpath 'C:/Users/user1/AppData/Local/Fork/current/Fork.AskPass.exe')" -c credential.helper=manager version': Os { code: 6, kind: Uncategorized, message: "The handle is invalid." }
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrac
Any ideas?
Hi, I’ve been using this tool with Fork for quite some time and it has always worked flawlessly. I installed everything according to the instructions and selected the Git instance as shown below:
Recently, however, Fork started reporting an issue when trying to read my repositories:
This has happened before when accessing a repository in WSL using the Windows Git instance. I checked Fork’s Git settings and noticed it had been reset to the default Windows version. I tried switching back to the Wslgit version, but it didn’t seem to take effect until I restarted Fork. Shortly after, it switched back to the Windows Git instance again.
I opened Fork’s log file and tried selecting Wslgit again, with the following result:
Any ideas?