They pop up in code repositories too, depending on contents and whether the engineer in question noticed it.
Same place you should put rules for Emacs / Vim swap files.
Maybe the benefits / drawbacks would be different for an open-source project with a lot of contributors.
Banning someone because they commit a file you don’t like is definitely a sign of a controlling person.
Thanks for giving me a new interview question.
> limit their rights
Now you're just being weird. No one has an inherent "right" to contribute to a project.