title: Git upload without changing passwords and usernames
body: <p>So I have my local MAMP setup and running a test environment for my projects. When I upload it to the live server for staging I want to keep the passwords and usernames in for example <code>config.php</code> separate from those that are used on the server. This way I won't need to change those each time I push a commit to the server.</p>
  
  <p>I have been using <code>git add -i</code> which is working out but still would like some feedback on how the workflow of others is looking like.</p>