If a branch is out of date and people are still trying to push it, it sounds like some kind of malfunction in your dev process. At the same time, it seems that you can solve this problem with git hook .
, pre-commit hook, dev . , , , ( ), . , , .
, , - , update hook.
, .git/hooks ( hook hook-name.example).