When I do a git status, I get my branch:
$ git status On branch OfflineLoading When I tried to git push, I get:
$ git push origin OfflineLoading fatal: OfflineLoading cannot be resolved to branch. When I check the branches, it is not there:
$ git branch branch1 branch2 branch3 branch4 How do I fix this?
git show-ref | grep -i OfflineLoadingOfflineLoading? Specifically, did you usegit checkout --orphan? If so, that's the problem: orphan branches aren't actually created until you commit something into them. If not, something is seriously wrong on your computer / in your repository.