Using the MSYSGIT history browser, I checked-out a particular commit. This was a mistake - I was trying to view the files and thought I had to check them out to see them.
Since then, I have been unable to push any more commits to my remote repo (on GITHub). Which I somewhat understand, though not entirely. [I admit to not fully understand how checkout works, please be gentle on a noob.]
How do I undo that checkout and get things back to the state they were in before?
If I right click on the 'checked out' commit, I get the option to 'remove this branch'. Will that delete the files of that commit [bad] or just undo the check out? Am I barking up the wrong tree?