title: Check out git-lfs files on VSTF build
body: <p>I've a repository hosted on VSTS, containig a file stored through git-lfs. If I just let VSTS build checkout the repository it just downloads the git-lfs metadata file containing the ID of the file. </p>
  
  <p>Here's the output how VSTS gets its source:</p>
  
  <pre><code>Syncing repository: MyRepo (Git)
  Checking out c84ef2f2bbad4fa3dc70dbd4100534390b9c8f18 to d:\work\73\s
  Checked out branch refs/heads/develop for repository MyRepo at commit c84ef2f2bbad4fa3dc70dbd4100534390b9c8f18
  </code></pre>
  
  <p>What do I need to do to checkout the real file?</p>
  
  <p>Edit: I assume I need to manually call <code>git lfs fetch</code> after VSTS checked out the source. But how can I handle authentication (which is required by VSTS) in this case?</p>