You can use SSH keys and GitHub deploy keys to approximate this. Can't speak for the security of it, but I have never set up GitHub with access to every repo. Not sure if there exists approximate functionality in other git forges though.
How does this work with the in-browser editor at github.dev?
How does this work with the in-browser editor at github.dev?