1. git checkout to previous branch
git checkout -
like cd -, - is an abbreviation of @{-1}, @{-n} denotes the nth previous branch.
2. @{n}, ref@{n} the nth rev of ref/current branch
git show @{1}
3. rev^n
rev nth parent
4.rev~n
rev nth generation
5. rev^{/text} search text from rev
6. :/text