title: Cannot import local git into Eclipse to create a new project (throws error "Connecting Git team provider failed")
body: <p>I created a git repository on my local computer:</p>
  
  <pre><code>git init
  git add TestGit.java
  git commit -m "Start"
  </code></pre>
  
  <p>I then went into Eclipse and chose to import and create a new project from that Git repo. During the Wizard steps, it recognized the <code>.git</code> directory and saw it as a repo (when I check in "Preferences", it shows under repositories) but when I then click to create the new project it fails everytime with:</p>
  
  <pre><code>Connecting Git team provider failed. See log for details.
  Connecting Git team provider failed. See log for details.
  Error connecting project Git Test, no Git repositories found
  </code></pre>
  
  <p>What could be wrong?</p>
  
  <p><strong>Edit:</strong> If I import it as a general project instead of as a new Java project, then it works! Why?</p>