Commit to switch branch