title: Switching source control contexts in Visual Studio Team Explorer
body: <p>When I connect to a local Git repository in Visual Studio (2015), Team Explorer shows a Git-specific interface (Changes, Branches, Sync, etc.). When I then connect to a non-Git TFS project, it refuses to acknowledge this switch and continues to show this Git interface (as opposed to the desired TFS interface with My Work, Pending Changes, Source Control Explorer, etc). Whenever I click one of the Git menu options, I get a message saying </p>
  
  <blockquote>
    <p>The current page is inactive because you are not connected to a Git team project</p>
  </blockquote>
  
  <p>which is information of which I am fully aware, but rather than allowing to switch to "TFS mode", it suggests I connect to a Git project.</p>
  
  <p>The only remedy I have found is to close and reopen VS, quite annoying. Is there a way to force this switch?</p>