title: How to force Visual Studio to refresh list of remote git branches in Team Explorer-Branches?
body: <p>Visual Studio 2015 and 2017 doesn't update remote branches in Team Explroer - Branches section. This means that whenever somebody adds a branch on remote or remove I can't see it through Team Explorer. Instead I am forced to use Source Tree and then magically Visual Studio notices the new branches. I click refresh button like a maniac and I tried following commands in Package Manager Console:</p>
  
  <pre><code>git remote prune origin --dry-run
  git config remote.origin.prune true
  </code></pre>
  
  <p>it does nothing or at least not what I am asking.</p>
  
  <p>How to fix this?</p>