On staging file, you can put your configuration for staging environment. Like database connection, base url, etc. Also, you can put any additional config values of staging phase only.
You have to exclude the
app/config/production.php from git by adding it on
So, you can pull at any time in production server.
But, be careful wrong configuration can deleted some files or directories.