Did you know most file managers on Linux support a ".hidden" file in your home directory? It works pretty much as gitignore does: it hides everything that you list in this file, one file/dir per line. https://fosspost.org/tutorials/hide-files-folders-linux-file-manager