Is there a way to only allow a GIT repository to be worked on (checked-out, push commits, etc) within a certain controlled environment, say within your VPN while you are using a repository hosting service such as Github?
I read from quora that some companies such as Facebook do this, but they probably have their own SVN/GIT server and do not rely on services such as github or gitlab.
I found this : https://stackoverflow.com/a/5507556/3138223 but the usage pattern discussed does not mention creating pull requests which is a real winner for most people as it allows extensive peer code review.