I had checked out an old hash (commit) and was working on it, checking in merrily and ignoring warnings that I wasn't working in a branch. Then I switched to a branch and realized that I had no way to get back to my orphaned checkins (luckily I had the terminal window open still, so I checked it out and branched).
How can I get GIT to tell me the names of the commits that do NOT belong to a branch? Or just all the commits, if that's not possible...