In my case, I was building Git from source in WSL Ubuntu.
The distribution didn’t come with libcurl
preinstalled. In this case, the git-remote-http
executable was not being built. So I installed it:
sudo apt install libcurl4-openssl-dev
Then, I re-configured, re-make
d and re-installed, and Git could clone.