Collect git revision hashes