From: Junio C Hamano git-for-each-ref [--count=<count>] [--shell|--perl|--python] [--sort=<key>] [--format=<format>] [<pattern>] git-for-each-ref [--count=<count>]* [--shell|--perl|--python] [--sort=<key>]* [--format=<format>] [<pattern>] Iterate over all refs that match <pattern> and show them
according to the given <format>, after sorting them according
-to the given set of <key>`s. If <max> is given, stop after
-showing that many refs. The interporated values in <format>`
+to the given set of <key>. If <max> is given, stop after
+showing that many refs. The interporated values in <format>
can optionally be quoted as string literals in the specified
host language allowing their direct evaluation in that language.SYNOPSIS
DESCRIPTION