This version of GitHub Enterprise was discontinued on 2022-10-12. No patch releases will be made, even for critical security issues. For better performance, improved security, and new features, upgrade to the latest version of GitHub Enterprise. For help with the upgrade, contact GitHub Enterprise support.
Importing source code to GitHub
You can import repositories to GitHub using the command line or external migration tools.
Importing a Git repository using the command line
Importing Git projects using the command line is suitable when your existing code is hosted on a private network.
Adding locally hosted code to GitHub
Learn how to add existing source code or repositories to GitHub Enterprise Server from the command line using GitHub CLI or Git Commands. Then, share your code and invite others to work with you.
Source code migration tools
You can use external tools to move your projects to GitHub.