title: switching between local and prod config using git
body: <p>I would like to switch configuration (such as DB host, imports and so on) between local dev and prod. which is the best way to use git?</p>
  
  <ol>
  <li><p><code>git stash save "message"</code> (create the local config) and <code>git stash apply</code> (to apply)
  PROBLEM how can I revert to prod config?</p></li>
  <li><p><code>git commit</code> (create the local config) and <code>git cherry-pick --no-commit #HASH</code>
  reverting is easier</p></li>
  </ol>