git clone produces different permissions on different servers git clone produces different permissions on different servers unix unix

git clone produces different permissions on different servers


I dont know, how you can find it out, but I assume, that on the second server the repository is created with --shared=group. This will (as it suggests) make the repository shared with the group and so it sets the appropriate settings, that allows users in the same group to push to the repository.