GitCode, a git-hosting website operated Chongqing Open-Source Co-Creation Technology Co Ltd and with technical support from CSDN and Huawei Cloud.
It is being reported that many users’ repository are being cloned and re-hosted on GitCode without explicit authorization.
There is also a thread on Ycombinator (archived link)
Depends on the license I suppose.
All major licenses allow it. GPL-family, BSD-family, MIT/X11, CC-family. Anything FSF-approved or OSI-approved.
Most projects on GitHub don’t have a license, which means it’s not allowed.