UE4Server.Target.cs syntax errors

I downloaded the UE4Server.Target.cs (and Game/Client/Editor.Target.cs, as well) from the Git engine source repository, but when I add them to my solution I have 200+ syntax errors. So, I opened them up, they’re in HTML?!

What could be the cause of this?

I fixed the errors simply by copy/pasting the code from the script viewer, in git, into the scripts in my solution. I just thought it was weird, and you guys might want to know about it…