Regarding handling old Mac files, APFS still recognizes and preserves resource forks as MFS, HFS and HFS+ did, which is kind of a surprise.
The problem is that most command line tooling, especially Linux/BSD derived tooling, doesn't really know how to handle the resource forks properly. Git...