Another common example related to yours: in countries with latin languages like spanish or Portuguese, the word for both the color black and black people in a completely generic non-racist way is negro. It literally just means black. A Spanish speaker having said it in the wrong context in an english language setting could easily invite criticism born of the silliness I mentioned above.
Americans sadly are now indiscriminately exporting their particularly toxic understanding of race and race relationships to other parts of the world and damaging the social fabric of these other countries. It's like introducing a new species of plant that ends up being invasive and destructive like kudzu.
It's a religion without forgiveness or redemption. And the high priests of this religion will never allow the language to sit they will always find new words to change and replace and shame us with.
Lots of this is very English and even US-centric. The lack of awareness and what is effectively an attempt to dominate other cultures in the name of inclusiveness is kinda interesting.
It has absolutely nothing to do with slavery.
Sorry if this offends someone but I think a lot of these newly verboten words nonsense stems from poor education and ignorance in the US.
The wild thing about the term "master" and the people that want to censor it is how English-language centric it is. It really only has the sensitive connotations it has in English. In Italian for example, maestro is teacher.
My fear is that what today is "we should move away from that term" will in a few short years become "we can't hire them because they typed 'git checkout master' in their live coding interview" and at that point it discriminates against those for whom English is their second language.
This happened to a friend of mine with the word "lynch". In English it is a highly racializes term but in his native tongue, Portuguese, the connotation largely revolves around mob violence committed against rapists and adulterers (just go search for the verb "linchar" and you'll find youtube videos of mob violence against people suspected of rape and adultery).
Well he used that term in a discussion on github back when discussing the changes to a popular open source project's code of conduct about 7-8 years ago and a bunch of cancel culture folks jumped on him and it culminated in them trying to get him fired from his current job. He was lucky that it was long enough ago that his boss brushed it off, but in today's environment he's certain he would have lost his job over using a term in his native tongue that is fully divorced from how people feel about the word in English.