Add printing of the current git hash to cfg files

This will give us some ability to track what version of the code was run
on data by looking at the logs.