At least for the projects I work with at Microsoft, nearly no user accounts have direct write access to source repos. Checkins are done by a service account only after a pull request has successfully been built and run tests, and has been signed off on by appropriate users -- e.g. I can't sign off on my own PR.
EDIT: Sorry, somehow I missed the reply by thatsamonad or I would have replied to it instead of its parent.