gitutils: add command line to print build revisions

(integrated from trunk branch change 286509b by Todd Whiteman <toddw@activestate.com>)