Skip to content

Instantly share code, notes, and snippets.

@sxflynn
sxflynn / move-to-github.md
Last active December 7, 2025 14:36
How to port your GitLab repo to GitHub, step by step

Move your Gitlab repository to GitHub

Why move to GitHub?

If you are a coding bootcamp student that has been building projects and solving exercises in a private GitLab repository that is controlled by another organization, then you might want to move your work to GitHub to preserve what you have done and learned, and make your work more visible to other developers in the community, and employers.

The GitHub profile is a great way to market yourself as a developer. You can pin repos to the top that you want to highlight to the community. It also has data visualizations on your contribution history to repo projects. Fortunately, if you have been making contributions to private repos in GitLab, all of your commit history will transfer to this graph.

Directions

  1. cd into your existing Gitlab repository that you want to move to Github.
  • This is what mine looked like: