checkout: merge local modifications while switching branches.