core: add git version in backtrace and log file