commit to move to another branch