title: git prevent deleting ingored files
body: <p>I need to have two different version of same file - one on local machine and one on the server (repo). </p>
  
  <p>I have put file to <code>.gitignore</code>, but now during each push it will delete file on the repo.</p>
  
  <p>What to do to prevent deleting file on the repo?
  Thank you!</p>