GitHub to GitLab Fork

Here are the commands to fork a GitHub repository and push it with all the commit comments to a GitLab repository.

>> git clone GitHub-repository.git
>> cd GitHub-repository
>> git remote rename origin old-origin
>> git remote add origin git@your-gitlab.com:your/repo.git
>> git push -u origin --all
>> git push -u origin --tags

That’s all!