I am using Bower to install several libraries. For demonstration purposes here, I am installing bootstrap. Regardless of the package, I receive the following errors:
Am adding my answer here as this is one of the closest questions that matched my situation. Was trying to install select2 rather than bootstrap, but the outcome was the same.
bower install select2 reported that git was unable to locate the directory. Used the
git config --global url."https://".insteadOf git://
config fix, but that resulted in a (paraphrased) error
I can't use https
My issue was resolved unsatisfactorily, as it involves magic.
I was attempting to run this in a command shell (cmd.exe, windows). I ran the same command and ran it in powershell and it worked. ಠ_ಠ
tl;dr: combination of https:// and powershell worked for me