git: ignore errmsg.sys and typescript, better diff header for C/C++ files