title: Prevent File from Being Removed
body: <p>I am working on a MVC.NET project and I have external config files that are located in the project's root directory.<br />
  At some point, I accidentally committed these files to Git and pushed up the changes.</p>
  <p>After several commits after that the tech lead realized my mistake and set it up to be removed from Git, added the files to <code>.gitignore</code>, and persisted the changes.</p>
  <p>Now I have the files that are ignored by Git, but, if I change branches, sometimes it will pull in the commit that removed those files.<br />
  So I have to re-touch the file and re-add all the contents (very annoying).</p>
  <p>Is there a way so that, even if I change branches, that git bash won't remove my external config files?</p>