I was trying to push from my Git workspace up to Github but my added and committed changes didn't seem to get uploaded.
Then, doing a "git branch" I got something that looked like this :
git branch
* (no branch)
master
Foolishly, I thought I could get back into master with
git checkout master
and now my changes seem to have gone. My master branch is about a day old. And there seems no way to switch back to this (no branch).
Are my changes lost? Or is there a way to recover them?