You’re right, we should remove the words from the language such that not even “racist” concepts can be expressed. An act of daring of such thought itself should be a crime. In fact we should call this new language: newspeak.
This story is about a business (Github) deciding to change language in their product that could carry racist connotations. It’s not about criminalizing racist language.