bower ECMDERR Failed to execute "git ls-remote --tags --heads https://gith ub.com/grevory/angular-local-storage.git"
<p>I got this error when running:</p>

<pre><code>bower install
</code></pre>

<p><a href="https://i.stack.imgur.com/WLZTT.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/WLZTT.jpg" alt="bower ECMDERR"></a></p>

<p>I've tried this:
<a href="https://stackoverflow.com/questions/21789683/how-to-fix-bower-ecmderr">How to fix bower ECMDERR</a>
and this:
<a href="https://stackoverflow.com/questions/25916640/bower-ecmderr-failed-to-execute-git-ls-remote-tags-heads-gitgithub-ommo">bower ECMDERR Failed to execute &quot;git ls-remote --tags --heads &gt; git@github.om:mobify/bellows.git&quot;, exit code of #128</a></p>

<p>Their problem is different, because, in my problem, Git is using https instead of git. It's not been used proxy, neither It's in a corporate network.</p>

<p>I've tested in these environments:</p>

<p>Windows: 7 Ultimate Service Pack 1, 8.1 Single Language, 10 Pro.</p>

<p>Node: 4.4.3, 5.10.0, 6.0.0</p>

<p>npm 3.8.3</p>

<p>git version 2.8.1.windows.1</p>

<p>bower 1.7.9</p>