I am not sure what you mean by "my culture," what are you basing that off of? Why would you knowingly and willingly add an ad hominem? Very strange behavior in discourse.
GitHub has always had such clauses, even if they were not explicit about AI model training in particular. It is best to self host your own git instance if you are so worried.