Configure a project's branch restrictions