Critical information access are temporary and restricted to the task at hand. Most common access should be read only and tailored to the position. All updates are logged and monitored.
So why should all employees be allowed to merge to the main repo? You can easily create another and assign someone to take care of transferring commits manually for releasing to prod. Maybe this repo is on another platform from where collaboration happens.
Investigating a bug in prod? Sure, contact the prod teams which will send you small sized dump of the necessary data. IMO that's better than doing the whole vpn and oauth dances. It's like how you go to an armory and the person responsible only give what is requested and does not allow you to enter.
Yes, there's a chance of social engineering. But it's way easier to secure a few high profile target than to have everyone has some keys to the main infrastructure.