title: unable to install package with bower
body: <p>I am trying to use a build script to build a project. The build runs successfully if ran on developers machine, on my machine or I run it manually on the teamcity agent but fails if the the build is ran through teamcity on the same agent.
  This is the error that I am getting.</p>
  
  <p>"git ls-remote --tags --heads <a href="https://github.com/jquery/jquery-dist.git" rel="nofollow noreferrer">https://github.com/jquery/jquery-dist.git</a>";, exit code of #128</p>
  
  <p>I saw a solution to run the command
  "git config --global url."https://".insteadOf git://"</p>
  
  <p>this also did not resolve the problem.</p>
  
  <p>the error comes when the command "bower install" is executed. the content of bower.json are</p>
  
  <p>{
    "name": "asp.net",
    "private": true,
    "dependencies": {
      "bootstrap": "3.3.6",
      "jquery": "2.2.0",
      "jquery-validation": "1.16.0",
      "jquery-validation-unobtrusive": "3.2.6",
      "jquery-ui": "1.11.4",
      "Font-Awesome": "4.6.3"
    } 
  }</p>
  
  <p>The Agent is a windows server 2016 with Visual studio 2017 enterprise installed. I installed nodes v6.11.0LTS manually and bower 1.8.0 using npm installed.</p>
  
  <p>BTW the error keeps coming on different packages, Its not always on the same package name.
  I also tried cache clean but It did not work as well.</p>