committing a change before the branch