fix a bug in which github :branch settings dont get respected