The Eclipse Foundation AISBL is an independent, not-for-profit organization chartered in the European Union that acts as a steward of the Eclipse open source software development community. It has over 300 members, … Wikipedia
Factsheet
Formation February 2, 2004 (2004-02-02)
Type NPO
Purpose advance open source projects, cultivate communities and business ecosystems.
Factsheet
Formation February 2, 2004 (2004-02-02)
Type NPO
Purpose advance open source projects, cultivate communities and business ecosystems.
🌐
Vogella
vogella.com › tutorials › EclipseGit › article.html
Eclipse Git Tutorial
May 31, 2026 - Use Ctrl+3 (or Cmd+3 on macOS) and type Git Repositories in the dialog to open the Git Repositories view. This view shows you the Git repositories you can work with in Eclipse and allows you to add existing repositories to Eclipse, or create and clone repositories.
🌐
Eclipse
wiki.eclipse.org › EGit › User_Guide
EGit/User Guide - Eclipse Wiki
Non-Windows users should in theory ... built outside of your Eclipse Workspace.) Select the project, click File > Team > Share Project. Select repository type Git and click Next....
Discussions

egit - Creating and sharing a git repository in Eclipse - Stack Overflow
when I create a new maven project in Eclipse (version 2022-03) I run into strange problems that I don't understand. Probably I am just too stupid;-) Let's say I have a project called HelloWorld and I More on stackoverflow.com
🌐 stackoverflow.com
How do I configure Eclipse to use an existing git repository with existing source code? - Stack Overflow
I have Eclipse Juno with EGit and a project that I've been working on for a while. I've decided to move it to Git, so I created a Github account and downloaded and installed the program. The reposi... More on stackoverflow.com
🌐 stackoverflow.com
Eclipse/Git: How to add a project to GitHub without unnecessary parent folder
I'm fairly new to Java, and I've been using Eclipse as an IDE. I wanted to learn EGit recently (coming from CLI Git I absolutely hate it so far), and I went ahead and created a new project "hello-java" and have within it a src folder which holds 8 or 9 .java files. I went to create a new local repository ... More on reddit.com
🌐 r/javahelp
12
6
July 27, 2018
How do I create a remote git repository in EGit and link it to an existing Eclipse project? - Stack Overflow
I had the same question (how to do it in Eclipse / eGit), and I just found the answer to the question stated in the title : either go to Window > Show View > Other... then select Git > Git repositories or click the Git repositories icon in the set of icons in the right More on stackoverflow.com
🌐 stackoverflow.com
🌐
GitHub
github.com › eclipse
Eclipse Foundation · GitHub
May 4, 2026 - A collection of all Eclipse projects hosted on GitHub · 1 · Showing 2 of 2 repositories · eclipse-projects Public · A collection of all Eclipse projects hosted on GitHub · There was an error while loading. Please reload this page. eclipse/eclipse-projects’s past year of commit activity ·
🌐
Eclipse Che
eclipsesource.com › blogs › tutorials › egit-tutorial
Egit Tutorial
One major advantage of Git compared to SVN or CVS is that you can easily create local repositories, even before you share them with other people. In this way, you can version your work locally. First, you have to create a project in Eclipse that you want to share via your local repository.
🌐
DZone
dzone.com › testing, deployment, and maintenance › deployment › import projects from git into eclipse
Import Projects From Git Into Eclipse - DZone
October 27, 2023 - I can use normal git operations tools to clone the repository, or I can do this directly from Eclipse using the menu File > Import > Git: (both importers do the same)
🌐
GeeksforGeeks
geeksforgeeks.org › git › how-to-use-git-with-eclipse
How to Use Git with Eclipse? - GeeksforGeeks
July 23, 2025 - Step 6: Then again open Eclipse IDE. Then go to Window, then Show View & then others. Step 7: The expand Git folder, click on Git Repositories & Open it.
Find elsewhere
🌐
Microsoft Learn
learn.microsoft.com › en-us › azure › devops › repos › git › share-your-code-in-git-eclipse
Share your Eclipse project with Git - Azure Repos | Microsoft Learn
July 15, 2025 - With your project open in Eclipse, right-click the project name in Project Explorer and select Team, Share Project... Select Git and select Next. Select Create... from the Configure Git Repository window and choose a folder for your local Git repo.
🌐
GitHub
github.com › eclipse-egit › egit
GitHub - eclipse-egit/egit: EGit, the git integration of Eclipse IDE · GitHub
Store which repositories are tied to which containers in the Eclipse workspace. Tracks moves/renames/deletes and reflects them in the cache tree. Resolves through linked containers. ... Connect team provider wizard panels. Connect to Git team provider by making a new repository.
Starred by 37 users
Forked by 20 users
Languages   Java 93.8% | HTML 6.0%
🌐
GitHub
github.com › maxkratz › How-to-Eclipse-with-Github
GitHub - maxkratz/How-to-Eclipse-with-Github: A tutorial on how to use Eclipse with GitHub. · GitHub
On GitHub click on New repository and give the new repository a name. Do not select the option Initialize this repository with a README. Click on Create repository. In Eclipse, go to Window/Show View/Other....
Starred by 47 users
Forked by 18 users
🌐
Medium
medium.com › @AlexanderObregon › getting-started-with-version-control-in-eclipse-ide-git-and-github-integration-a0cca7b15126
Getting Started with Version Control in Eclipse IDE: Git and GitHub Integration
April 26, 2024 - After the repository is cloned or imported, select the desired project(s) and click “Finish.” · In Eclipse, go to “File” > “New” > “Other” in the top menu. In the New window, expand “Git” and select “Git Repository.”
🌐
DZone
dzone.com › software design and architecture › integration › how to configure git in eclipse ide
How to Configure Git in Eclipse IDE
May 10, 2022 - The window below will appear where we choose our source Git repo. To get the URI, log into your Bitbucket account. ... Copy your repository's HTTPS link and paste it in the window above.
🌐
Jmu
wiki.cs.jmu.edu › reference › eclipse › git
Using Git with Eclipse - JMU CS Wiki
Eclipse enables you to present and interact with the same project in a variety of different ways, each of which is called a "perspective". To enable the Git perspective, click on "Window+Perspective+OpenPerspective" and select "Git" (if it is available) or "Other...+Git". The easiest way to ...
🌐
Uzh
geo.uzh.ch › microsite › reproducible_research › post › rr-eclipse-git
How to use Git with Eclipse | Reproducible Research Workshop
August 18, 2016 - Expand ‘Git’ (click on the little arrow on the left) and choose ‘Git Repositories’ and ‘Git Staging’, then click Ok. Tip: A setup I personally like in Eclipse is to have Project Explorer on the left, Git Repositories/Git Staging/Outline on the right (tabbed), the main editor in the middle, and the Console/History/Javadoc/other below the main editor.
🌐
Canarys
ecanarys.com › home › integration of git into eclipse ide
Integration of Git into Eclipse IDE - Canarys Automations
January 17, 2023 - Right click in ‘Package Explorer’ section > select ‘Import’ option and type ‘Git’ in the search bar, then select ‘Projects from Git > Next > Existing Local Repository > Next > Select a git repository > Next > Finish’ option and the project appears as follows in the ‘Package Explorer’ section.
🌐
Reddit
reddit.com › r/javahelp › eclipse/git: how to add a project to github without unnecessary parent folder
r/javahelp on Reddit: Eclipse/Git: How to add a project to GitHub without unnecessary parent folder
July 27, 2018 - I was able to right-click on the Project Explorer > Team > Share Project and add my remote repository from GitHub. Using the "Git Staging" view in Eclipse, I added all project files (the 8 or 9 java files and the .gitignore), and excluded the .classpath, .project, and commons-lang jar files.
🌐
Eclipse Che
eclipsesource.com › blogs › tutorials › eclipse-git-tutorial-a-rebase-workflow-with-egit
Eclipse Git Tutorial
I prefer the fetch-and-rebase approach, and in this tutorial I’m going to show you how to use a Rebase Workflow for Git using EGit, the Eclipse Git Plugin. There are lots of good reasons for using a rebase workflow when your ready to push your changes to a remote repository.
Top answer
1 of 3
40

I had the same question (how to do it in Eclipse / eGit), and I just found the answer to the question stated in the title :

  1. either go to Window > Show View > Other... then select Git > Git repositories or click the Git repositories icon in the set of icons in the right
  2. expand the repository to see "Remotes", right click and Create Remote
  3. choose the option : fetch will tell eclipse you're only allowed to read (which is the correct option if you don't want/have the right to push on that repo). then name that remote repository like you want (the first is usually named "origin", but you can have "prod", "test-server", ...)
  4. click on change to specify the uri of the repository. You can paste on the first field the complete uri you would type after "git clone"; if in GitHub you first copy the uri then it might be automatically filled in
  5. "Finish" then "Save and Push" or "Save and Fetch" according to what you chose in 3°

Also, for creating a new project in Eclipse from an existing git repository with eGit, all you have to do is to go in File > Import...and choosing Git/Projects from Git. Then follow the steps

2 of 3
12

You can do everything from the command line instead:

Do this in the root of the project:

git init

Do the same in the folder where you want your blessed or central repository:

git init --bare

In the local repository, add a readme file and commit it:

echo "testing" > readme
git add readme   
git commit -m "initial commit"

Now link and push your changes to the central repository:

git remote add origin //server/share/repodir
git push -u origin master

Hope this gets you started.

You can use egit later if you like, but there is nothing wrong with using git separately.