'fatal: Unable to find remote helper for 'https'

I tried to install brew on my mac (High Sierra) I always have this error:

fatal: Unable to find remote helper for 'https'

I tried to clone brew manually but it's the same.

Do you have any idea how to fix my problem?



Solution 1:[1]

This happens when git doesn't find the git-remote-https executable in the executables directory (git --exec-path), which in turns happen when compiling git on a machine which doesn't have all the dependencies available. Most likely one of libcurl-gnutls or libgnutls is missing on your system.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Matthieu Moy