Clone GitHub Repository from Eclipse

In this post, we are going to clone a GitHub repository from Eclipse. I have picked up a random repository from GitHub which I will be cloning onto my local system using Eclipse.


  1. Eclipse
  2. GitHub Repository

Clone Repository

Open your Eclipse and go to File -> Import.

Choose Git -> Projects from Git. If you don’t see Git, install it from the Eclipse Marketplace.

Select Clone URI.

Copy the GitHub URL.

Paste it in the URI. Host and Repository path will be auto populated.

If your repository is private, provide the GitHub username and password else leave blank. Next, select the branch you want to clone.

Choose the destination path on your local system to create a local git repository.

If it is a existing Eclipse project, select that.

Select the Project(s) you want to import.

It will take some time based on the project size. There we have all the projects in the package explorer. To recognize the local projects and remote projects, you will see the repository name and branch name against the project.

Thank you All!!! Hope you find this useful.

Leave a Reply

Up ↑