Typically, in macOS, the file system creates invisible files ("directory structure") named ".DS_Store". Maaaybe these could be default present or mentioned in .gitignore? If not you'll get a lot of changes (that's not really changes) in your repo. Just a thought. :)