This version of GitHub Enterprise Server will be discontinued on 2026-08-25. Discontinued releases are not supported. No patch releases will be made, even for critical security issues. For better performance, improved security, and new features in GitHub Enterprise Server, see Overview of the upgrade process. For help with the upgrade, GitHub Enterprise Support.
Importing source code
To import source code only, you can use command line tools.
- Using the command line to import source code
- About source code imports using the command line
- Adding locally hosted code to GitHub
- Importing an external Git repository using the command line
- Importing a Subversion repository
- Importing a Mercurial repository
- Importing a Team Foundation Version Control repository
- Importing from other version control systems with the administrative shell