title: VSTS build failed with Git fetch failed with exit code: 128
body: <p>I setup a build agent and build process on VSTS. All configuration is ok but build is failed at getting source step. Here is what I have tried:</p>
  
  <ul>
  <li>Check permission: Since my profile is owner of this project so I do
  not specify permission in Roles</li>
  <li>I tried to change PAT's scope to ALL
  scope but I have no luck.</li>
  <li><p>Upgrade to latest version 2.14.1.windows.1. But I know why it still shows 2.12.0.windows.1.</p>
  
  <pre><code>2017-08-15T03:51:34.4449577Z ##[command]git version
  2017-08-15T03:51:34.5159426Z git version 2.12.0.windows.1
  2017-08-15T03:51:34.5239707Z ##[command]git init "C:\agent\_work\1\s"
  2017-08-15T03:51:34.5889586Z Initialized empty Git repository in C:/agent/_work/1/s/.git/
  2017-08-15T03:51:34.5929735Z ##[command]git remote add origin https://ezcm.visualstudio.com/_git/NSample
  2017-08-15T03:51:34.6430065Z ##[command]git config gc.auto 0
  2017-08-15T03:51:34.6915534Z ##[command]git config --get-all http.https://ezcm.visualstudio.com/_git/NSample.extraheader
  2017-08-15T03:51:34.7356779Z ##[command]git config --get-all http.proxy
  2017-08-15T03:51:34.7846598Z ##[command]git -c http.extraheader="AUTHORIZATION: bearer ********" fetch --tags --prune
  </code></pre>
  
  <p>--progress --no-recurse-submodules origin
      2017-08-15T03:51:34.8901839Z ##[error]Git fetch failed with exit code: 128
      2017-08-15T03:51:34.8981753Z ##[section]Finishing: Get Sources</p></li>
  </ul>
  
  <p>Please help me to figured out the issue. Thank you!</p>