Step 1: Create an application from https://start.spring.io with a dependency of spring-cloud-config-server
.
Setp 2: Annotate your main application class with @EnableConfigServer
Step 3: Add below properties in application.properties
#Uncomment below section to use git as config location
spring.profiles.active=git
spring.cloud.config.server.git.uri=https://github.com/awesome-bank/awesome-bank-config.git