I am using Dropbox to sync a git repository, but now when I try and push I am getting an error:
Dropbox
git
push
fatal: Reference has inval
Try a git checkout master first to get on the healthy, well-named branch.
git checkout master