Prevent pushing of non-existing branch

Hi,
we are trying to keep our main repositories with just master and develop branches. But maintainers can do mistake and push some feature branch to main repository where this branch doesn’t exist and I would like to prevent it.
Is it possible with GitLab?

Thanks.