We have a folder structure in our source control where some things are branched, and some aren\'t. The branched stuff follows a (standard?) pattern of Production>
Production>
I had similar issue. I was trying to create another branch in DEV (in separate folder) from MAIN and this error popped up.
What resolved this problem for me was to create a new branch in the root and later move it to Dev.