"update-ref --delete" is actually spelled "-d"