Hello,
we configured branch restrictions on a project level for the master branch. So all repositories accept changes only by Merge via pull requests from branches different to the master.

Then we created a new repository containing one master branch.
And now it seems that BitBucket wants us to create a readme or .gitignore file before we can create new branches in the new repository.
But the project settings do not allow a direct commit to the master branch.
So I had to deactivate the restrictions for the whole project. Then we added a .gitinore and committed it to the master. After that we were able to create a new branch and the branch restrictions wer reactivated.
How can we keep the branch restrictions on the project level and work with new repositories?
How can we get this first file needed in a repository if merges to the master without QA measures are forbidden?