To import the git project in Eclipse, follow these steps:
Go to Option "Window" in Menu-> then Select "Show View" ->then Select "Other"
In the filter field option, enter the "git"
Select Git Repositories option and click OK
Click the button whose tooltip reads "Add an existing local Git Repository to this view"
Click the "Browse" button and go to the directory that contains the project source code file
Click on the "Search" button
Click the "OK" Button
In Package Explorere, Right-click on the project folder
Go to Option "Team" -> Select "Share Project"
Select Git option and then click "Next" option
Check the select box for \'Use or create Repository in parent folder of project - this option should automatically find the .git directories
Click Finish Button and EGit will complete the integration
After following these steps, the projects will be connected to the git. This procedure allows you to handle the very big amount of git commands right from Eclipse IDE.