It's quite simple to import your repositories from somewhere else. All you need to do is create a new project and select the repository to be imported. In this recipe, we will take a look at how this is done. For this recipe, we will import the repository hosted on GitHub at https://github.com/gitlabhq/gitlab-shell.
In the following steps, we will import a repository:
Log in to your GitLab instance.
Click on New project.
Enter the project name as
GitLab Shell
.Click on Import existing repository?.
Importing the existing repository might take a while depending on the size of the repository.
After the importing is done, you will be redirected to the project page.
Let's check whether it's actually an imported repository. Click on the Network menu item. If everything is fine, you should see the graph in the following screenshot: