zet

Using USB as Git Repo in Windows WSL2

Make sure you mount the USB to a folder (instead of just a letter). And make sure you install full Git on your Windows host computer and add both the following to your path in your $profile:

$env:path = $env:path + ";c:\program files\git\bin;c:\program files\git\mingw64\bin"