Not sure I would clasify that kind of negligence as legitimate. But yeah, most git repos, have lines to clone them as text to be copied and pasted into a shell.
Why go to China when they can go to the US or Europe?
Countries trying to lure in top academics don't just offer money, but also facilities, research grants and such. Compensation is only part of the picture, and scientists might want to choose the country were they are going to get the most science done, not necessarily the one that pays best.
Treat it as if they wrote it themselves, which means fraud, falsifying documents, lying under oath.. etc.
Exceptions prove the rule, and wreck the budget. -- Miller