Today I discovered filezilla has a feature “directory list filters” to exclude certain directories/files: (View > Directory list filters (cmd+I on macos)). You can use this to exclude files like .git, or .DS_Store (you have to add .DS_Store)
I’m using filezilla since the dawn of time, yet I only discovered this now.