-
In the upper-right corner of any page on GitHub, click your profile picture, then click Settings.
-
In the "Security" section of the sidebar, click Code security.
-
Under "User", to the right of "Push protection for yourself", update your settings.

Управление защитой от push для пользователей
Вы можете контролировать способность GitHub блокировать ваши push-запросы, которые могут содержать секреты.