Commit before switching branches.