We have learned how to start development using a local Git repository and then push changes to a remote repository. Let's now learn how we can get an existing remote Git repository and create a local copy; in other words, we will learn how to clone a remote Git repository. The easiest option is to import the remote Git project. Select File | Import... from the main menu and then Git | Projects from Git | Clone URI.
The wizard will display a page similar to Figure 3.29. Enter the URI of the remote repository, username, and password, and then click Next. Select a remote branch and click Next: