`git reset <ref>` can be ambiguous and fail to switch to the correct branch. To avoid it, specify branch as well.