display commit hash as revision if version program is executed from a git repository