Have files that you never want checked into any git repo on your machine? (*cough* looking at you .DS_Store) You can use a global gitignore file to always exclude them
https://docs.github.com/en/get-started/getting-started-with-git/ignoring-files#configuring-ignored-files-for-all-repositories-on-your-computer
https://github.com/github/gitignore/tree/master/Global