Implemented the option to specify the branch of the settings that should be returned