No results found.
Explore by product
GitHub
Get startedAccount and profileRepositoriesGitHubEnterprise administratorsBilling and paymentsOrganizationsCode securityGitHub IssuesGitHub ActionsGitHub CodespacesGitHub PackagesDevelopersREST APIGraphQL APIGitHub CLIGitHub DiscussionsGitHub SponsorsBuilding communitiesGitHub PagesEducationGitHub DesktopAtomElectronCodeQL
Article version: Enterprise Server 3.1
Article version: Enterprise Server 3.1
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 an existing project to GitHub using the command line→
Putting your existing work on GitHub Enterprise Server can let you share and collaborate in lots of great ways.
Source code migration tools→
You can use external tools to move your projects to GitHub.
Help us make these docs great!
All GitHub docs are open source. See something that's wrong or unclear? Submit a pull request.
Make a contribution