title: How to use Github push and pull for live site and localhost config
body: <p>I am still a bit confused how to use github the right way.
  i have a master branch on github which is up to date with my live site on the server.
  i have also made a branch dev-1 which is up to date with my local code.</p>
  
  <p>on my local site the config files are configured with a callback URL of localhost, while on the live site the config uses the live URL of course.</p>
  
  <p>but how do i now update my code which i test on localhost and want then to push it to the live site without alternating the config files?</p>
  
  <p>i edit the .gitignore file to exclude the config folder, but it doesn't work or i made it wrong.</p>
  
  <p>what is the recommended user flow?</p>