Create a sample config file. Use this file only if config.inc.php doesn't exists. Add config to .gitignore.