Surely, there’s no case of Copyright infringement here, but I believe that a company owning a registered trademark can ask others who are using it’s company name to desist from associating it to their product, if they disapprove, or at least ask for a disclaimer note to be added. It’s true that GitHub is a compound word formed by Git + Hub, but GitHub is also a registered trademark.
Some countries (e.g. the USA) even allow advertisement to compare the promoted product to its competitors, stating why the former is (allegedly) better than the latter; but other countries don’t allow this.
Laws surrounding these topics differ from country to country, sometimes in subtle ways, others in significant manners, and I believe that the Chinese legal system is quite different from that of Europe or the USA.
Well, we read all the time of big corporations suing other companies because their logo uses the same colour palette, or the font is too similar, etc. Often these legal actions are just intidimidatory actions against rivals, and land nowhere, but sometimes you do see some cases going all the way though and setting a legal precedent — which is, of course, what makes these cases so interesting to developers.
One could argue that the Coca Cola logo is anything but original, yet it’s a strongly recognized and well protected logo, maybe because it’s so iconic and known worldwide. Apple’s logo looks like something out of a clipart-collection from the 80s, yet its shape and colors are well protected, and anyone imitating them does so at his/her own risk.
These are fuzzy boundaries, which is why they are so intriguing. Are palettes and color scheme copyrightable? There’s been a lot of debate around this, some claiming that certain precise colours combinations are eligible for protection, other that they aren’t.