In Spring cloud config we can externalise our configuration files to some repository like GIT HUT, Amazon S3 etc.
Benefit of externalising configuration files are as follows:-
1. Easy to manage configuration as per the different environments like dev, QA PROD etc.
2. Any configuration changes can be reloaded without any restart or downtime.
3. It follows the 12-Factors app rule.
4. It reduces outage and security breach through visibility.
5. Better release management etc.
Please see the following git repo for config server and config client.