added saving of git commit ID to diagnostics .mat files