commit before switching branch