title: Creating Git repository without double folders
body: <p>When I create a Git repository using Eclipse Team option it moves the main project folder inside the repository creating folder structure like <code>workspace_name/repo_name/project_name</code> with any contents only being inside the latter. I want to have it be <code>workspace_name/repo_name</code> since the names of repositories and projects are almost always the same.</p>
  <p>Is it possible to do that in Eclipse without workarounds? Or maybe having git repo and Eclipse project with the same root folder is a bad idea?</p>
  <p>Clarification, as requested by comments:
  What I'm doing is <code>right-click a project</code> =&gt; <code>Team</code> =&gt; <code>Share Project...</code> =&gt; <code>Create...</code> (new git repository). When you go into that repository's folder, there's the Eclipse project's folder inside. I want my project files directly inside the git repository. The question asks if that can be done by changing some setting in Eclipse or using a different in-Eclipse way of creating git repositories out of current projects.</p>
  <p>Yes, I am using an empty workspace, separate from the current one.</p>