I kindof agree with you, but if you go to a university lab then you will likely find that all the students are all in the same groups. You don’t really want to blindly trust the group that way.
Oh yeah, in such an environment that would not make sense. I'm saying it should be a (local/global) config option, not enabled by default.
EDIT: Or maybe even more general, trustedOwnerUsers / trustedOwnerGroups
In lack of CI I still tend to do builds in a container from a separate local user with read-only permissions. I wish they'd add an option to allow it when the user is in the owner group, which could be a decent compromise.
[0]: https://git-scm.com/docs/git-config/2.35.2#Documentation/git...