Click on Xcode then Preferences or Cmd+, select Download and then Components. Install the Command Line Tools.
After complete installation, go to Terminal and cd to the project directory. Issue the following command:
git init
git add .
git commit -m "Initial commit"
You can go to Xcode Organizer in the Repositories section to use the GUI git.