If you have source code in Subversion, Mercurial, Team Foundation Version Control (TFVC), or another Git repository, you can move it to GitHub using GitHub Importer.
If you have a project hosted on another version control system, you can automatically import it to GitHub using the GitHub Importer tool.
During an import, you can match commits in your repository with the GitHub account of the commit author.
If GitHub Importer is not suitable for your purposes, such as if your existing code is hosted on a private network, then we recommend importing using the command line.
Putting your existing work on GitHub can let you share and collaborate in lots of great ways.
You can use external tools to move your projects to GitHub.
All GitHub docs are open source. See something that's wrong or unclear? Submit a pull request.
Or, learn how to contribute.