Earlier quoted context omitted.
I'm not doubting you can trick people into engaging with a phishing site that looks like WinRAR. I just don't think the domain makes any difference.
You don't think a url like those in this article [1] makes any difference? You have more faith stopping phishing than I. [1] https://medium.com/@bobbyrsec/the-dangers-of-googles-zip-tld...
If I don't bother hovering over the link then the domain never mattered at all. Could have hosted the file anywhere since the link text in HTML (including HTML email) need not have any relation to the destination. You can simply write a legitimate github.com link but the href goes somewhere else.
Any situation where you're relying on users to visually inspect every link and decide if the domain looks plausible is already a security failure.
If I'm downloading and executing files that are randomly in a Medium article or in my inbox from an untrusted source then we're in trouble whether they are hosted on github or not.