added info about if local branch needs to be pushed

and tests