I have created a new project and checked the \"create a local git repository\" option. I opened the organizer to check that there is a repository for my project and it was there
I know this has already been answered but this worked for me:
Open terminal
cd yourprojectdirectory git config --global user.email "youremail@email.com" git config --global user.name "username"