build: record git version in firmware build