Print git hash of versions

Change-Id: I417d0d568e33f647d172eb59299bcbc4701b2df1