GitHub does! They tell you when you pushed something dangerous almost right away.
GitHub Advanced Security blocks the push, I believe.