git branch -v
For remote branches, use git branch -v -a
git log -3
some additionals option:
--oneline
to show one line
--branches
to show remote branch (if available)
git log -3 --author="some body"
git log | grep Author: | sort | uniq
git shortlog -snc
git shortlog -sne
# for current branch
git branch -m "new name"
# for other branches
git branch -m <old-name> <new-name>
tip:
-m
is like move file command in file system