This also happened to me when I had initialized a repository without trees, and pointed my repo to the branch to make it work.
This also happened to me when I had initialized a repository without trees, and pointed my repo to the branch to make it work.