https://stackoverflow.com/questions/50973048/forking-git-repository-from-github-to-gitlab
-
Create an empty repository in Gitlab
-
Set the original Github repository as upstream:
git remote add upstream https://github.com/user/repo
-
Fetch the original Github repository changes
git pull upstream master
-
Start developing and pushing to your own Gitlab repository
git push origin master
-
You can configure Gitlab's repository mirroring settings to automate the pushing/pulling from the original Github repository (upstream)