Undo a change that has to done to a branch