Branch creation prevention

Hi everyone,

Forgive my question, but I have looked for this for a while but I can’t find the answer.

Is it possible to prevent users from creating a branch from any other branch than master?
I’d like master to be THE ONLY branch that we can create other branches from.

Thanks in advance for your time!