Look for config file within the current directory or traverse up to some root settings. The git location could be a good root folder.