I wanted to add MacOs support to my Java application. So I bought a new Mac with M1 Chip and created a new subbranch in my Git repository to add MacOs support. The repo is hosted on Dropbox. I have local repos on MacOs and Windows which point to this "remote" repo (Dropbox is added as folder in the home directory).
On MacOs: I used SourceTree to clone the repository. After I finished the first bugfix I pushed to the repo. I can still push and pull on master and the subbranch. No prob on MacOs.
On Windows: Since I pushed from MacOs I have the problem ONLY on Windows. I tried with TortoiseGit, SourceTree and directly on console with "git pull origin master". The result is always fine for the master branch (where I did not push from MacOs yet) but for the subbranch I always get "error: refs/heads/v0.6.x does not point to a valid object!". Doing "git fsck" gives only "dangling tree 4b825dc642cb6eb9a060e54bf8d69288fbee4904". I removed the head branch locally and remotely. It is still there on MacOs but on Windows I get the same error message when I pull from the repo.
Additional Info: The folder refs\heads\v0.6.x exists. So I guess it is pretty sure a problem with the check-in from MacOs.
Any Ideas are very welcome.