
eGit defaults to a subdirectory under you user, unrelated to eclipse, it works well.
You may now choose where you want to place your local Git repository. You may also choose to clone all branches to have them available. If there are more than one branch in the repository, you may now choose which one you want to clone locally, the one with which you want to interact. If you tick the "Store in Secure Store," Eclipse will handle user/password for you from now on I do it, but it is not advisable if you share Eclipse installation with someone else, or you do not trust your PC to hold your passwords. Leave the connection as it is (https and no port) and fill in the details for the authentication: user and password you use to log in. eGit has filled in the host and repository path for you. URI: the URL from the repository in GitLab, like. Click the button with an arrow and the tool tip "Clone a Git repository and add the clone to this view". Search for "Git", select it, and click "OK". If you use a newer Eclipse, take care and post back the new steps :-) Rumor has it that they are outdated and might not work as indicated. These steps have been tested in Eclipse Kepler and Eclipse Luna. II Now clone the repository locally, using Eclipse eGit. For now, select HTTPS and copy the URL that follows it: that is the URL to the project.
One of those buttons is a selector for SSH/HTTPS protocols. Right beneath the name of the project and its description there are a few buttons to allow you to perform some actions.
Menu (the hamburger icon ≡, 3 horizontal lines),-> projects, then click in the one you want to work with from eclipse. Something like You get it from when you are at the overview page for the project: If it is not installed, follow the indications in the answer from sure you have the URL to the repository in GitLab. See that "Eclipse Git Team provider" is in the list.