I created a new spring cloud config project which use a GitHub repository to get the configuration , it didn't work ,after creating a master branch , the problem was solved. it seems spring config is still trying to use the master branch by default while it is deprecated now
Comment From: spencergibb
Duplicates #1722