I am using Github Windows 1.0.38.1 and when I click the \'Sync\' button after committing, I get the error
This error also occurs if the branch you're trying to sync has been deleted.
git status won't tell you that, but you'll get a "no such ref was fetched" message if you try git pull.
git status
git pull