Git foreach use cases

What did I do before the holidays?

git for-each-ref --count=30 --sort=-committerdate refs/heads/ --format='%(refname:short)'

sort by date

git for-each-ref --sort=-committerdate refs/heads/