title: GIT and VSTUDIO: Does visual studio cache files and cause issues when switching between GIT branches?
body: <p>Use case:</p>
  
  <p>-Visual Studio is open</p>
  
  <p>-Master branch   is clean  (confirmed with git status)</p>
  
  <p>-Checkout clean feature branch (confirmed with git status)</p>
  
  <p>-Make changes in feature branch using visual studio IDE </p>
  
  <p>-Commit Changes in feature branch </p>
  
  <p>-git status check, everything commited to feature branch</p>
  
  <p>-Checkout Master branch</p>
  
  <p>PROBLEM:  Master branch is no longer clean, some of the files that were altered in vStudio in the feature branch are not showing up as altered in the master branch.</p>
  
  <p>We can't figure out if vStudio is caching and overwriting (which seems backwards from the way I know it work where it asks if you would like to reload)  or if we are doing something wrong in GIT</p>
  
  <p>Edited per comment below:</p>
  
  <p>That is the problem, the master branch WAS clean, after working in feature branch and switching back to Master it is now showing files that were altered in the feature branch as being altered in the master branch</p>
  
  <p>my understanding of git is that if you alter files in one branch, commit them, and then switch to another branch git would switch out the altered files for the correct versions in the other branch, what we are seeing is alteration in one branch is sometimes showing up in the other and we are speculating that perhaps this is due to visual studio caching (or something more evil)  </p>