Use a Package Manager
Use winget
if you can!
Use Nushell
winget install Nushell.Nushell
Git
Git on Windows is a... 'special' flower.
winget install Git.Git
On big clones errors like this are common:
$ git clone --recurse-submodules -j16 git@github.com:boop/droop.git
Cloning into 'droop'...
remote: Enumerating objects: 2673758, done.
remote: Counting objects: 100% (49873/49873), done.
remote: Compressing objects: 100% (14594/14594), done.
fetch-pack: unexpected disconnect while reading sideband packetB/s
fatal: fetch-pack: invalid index-pack output
Pass --depth 1
to improve the chance it might succeed. Then:
git fetch --unshallow