github

Git push to two remotes

The Problem: Need a way to share code hosted in a private GitLab repo publicly on GitHub. The solution: Use a second Git remote to share a private Git repo publicly on GitHub. Backstory: GitLab with its free unlimited private repository hosting and CiCd services offers a great place to host Git repos and build code. GitHub is the defacto home of Open Source code repositories and is also a great way to add to a resume by sharing projects publicly.