If we want to use different database credentials for the local development server and the online production or staging server, we can modify the database settings in the wp_config file

http://blog.g-design.net/post/60019471157/managing-and-deploying-wordpress-with-git