NXP-11597 Update code templates
NXP-9053 - improve error log and raise exception
NXP-9053 - fix error mgt for git config commands