You'll want to add the config.php file to your .gitignore and commit the config.php-init instead.