So you want to have the .git folder below the Projectname/ folder?
Yes, that's possible.
- Create your project in eclipse.
- Open the Share projects wizard, select Git
- Check the checkbox "Use or create repository in parent folder of project"
- Select the project in the table
- Click the button "Create Repository"
Per default the new repository is created in the project folder, next to the .project file.