You can link a directory to a git repository through the "Git Repository" window. Access this window by quick searching 'git repository', or through the main menus via Window > Show View > Other > Git > Git Repositories.
This window gives controls for adding, cloning and creating git repositories.
- : add an existing local Git repository
- : clone a Git repository
- : create a new local Git repository
Once you have a local folder associated with a git repository, create a project in that folder, as demonstrated in the Your First Project section.
Git actions can then be performed by right-clicking a project and accessing the 'Team' menu. All Git repository interactions are powered by the Eclipse EGit plugin. Click here for a comprehensive EGit user guide.