I have been struggling with this for a while now and was wondering how to add a branch with new files.
It seems simple and it is not an ssh key problem as I can add and edit other branches without problem and am an owner on the repo.
Although I get:
fatal: 'XXXXX' does not appear to be a git repository
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.