Spring Cloud Config Server has magical property searchPaths that magically alter search order of YAML file in Git repository. YAML file name conventions and config file layout itself are magic.
searchPaths