title: Keep a commit locally to clone in Git
body: <p>I have two repositories. I started a project locally on my development machine, later cloned it to a testing environment on the customers server. I mimic the environment on the customers server, but for that I need to have some files (and some lines in some other files) to be only present on my local machine, but they must not appear on the remote environment. </p>
  
  <p>I've deleted these files and lines just after I cloned the project and committed these changes on a single commit in the remote repository, but after a push (back to the origin repository) I would have to ignore this commit on my local repository. I would like to have both repositories in sync, except for this single commit, so the project would 
  run on both, slightly different, environments.</p>
  
  <p>How would I do that? How can I ignore a commit locally without altering it on the remote repo after a push/pull?</p>