As an aside, I empathize with the author’s struggles to insert files with resource forks with resource forks-oblivious git. What I’ve done before is use AppleDouble as a post-compilation step and git hook to separate resource forks into separate files and reconstruct them - it was included in A/UX for precisely that reason.
https://en.m.wikipedia.org/wiki/AppleSingle_and_AppleDouble_...
replies(1):