commit to switch branch