Is it possible to configure Git to set global write permissions when pushing to a filesystem remote?

Solution 1:

We were using a similar configuration at my office before moving to a GitLab server, and the way we solved it was to have default ACLs giving group read/write/execute to any new files created under the repo, initialized with ACLs granting those access on all files.

Repo access was controlled by membership in a linux group for the project, with the ACLs and default ACLs granting access to that group.