How can you serve a file from a GitHub repo with the appropriate Content-Type header?

I had a similar issue but with jQuery JSON parsing a raw git file … would either of you have any guidance on it?

Thanks!