When pushing a named branch ref, make sure that the commit gets pushed to the appropriate branch.