Commit before branch change