title: How to create a git project from an existing maven project in Eclipse?
body: <p>I have a local maven project. Now I want to put it into a git repository. I think I first need to create a local git project and then push all to the remote repository. Is there a way to do this in Eclipse? I have the egit plugin in Eclipse.</p>
  
  <p>Tried the following step:</p>
  
  <pre><code>1) Create a local new Git repository and add it to this view
  2) There are 3 options:
     * Import Maven Proejcts
     * Import existing proejcts
     * Import as a general project
  </code></pre>
  
  <p>None of these seem works. This should be a very typical use case. First, you create a maven locally, without git. At some point, you want to put it into a git repository and collaborate with others. How to achieve this?</p>