git: ‘remote-https’ is not a git command?

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-maked and re-installed, and Git could clone.

Leave a Comment