Commit to switch branch.