`.gitignore` is not global to repository, you can ...
# general
r
.gitignore
is not global to repository, you can paste a lot of them in different folders, from this point of view I prefer one option