Since a few days I got an issue with Mac OS High Sierra 10.13.3 : When I run a git clone like git clone github.com/xxx.git failed it print:
git clone
git clone github.com/xxx.git failed
I would suggest updating git. If you downloaded the .pkg then be sure to uninstall it first.
.pkg