One can use the browser extension to remove X-Content-Type-Options response header for raw.githubusercontent.com files. I found couple of browser extensions those can modify response headers.
1: Use of Modify Headers Rule and removal of the response header
2: Use of Replace host Rule