Let's use the application.properties file:
server.port=8888 spring.application.name=cloud-config spring.cloud.config.server.git.uri=file://${user.home}/app-config-repo
As you can see, we have configured three properties, server.port, spring.application.name, and spring.cloud.config.server.git.uri, where ${user.home}/app-config-repo is a Git repository containing YAML and properties files.
If you are using a Windows machine, then you need to give an extra / as file:/// in the file URL. If you using Unix, then use file://.
Let's look at how to create a local Git repository on your local machine.