If on WSL2, they need

[interop]

appendWindowsPath=false

section in /etc/wsl.conf.

Then everything will go flawlessly.