How to set up a Git repository for an Xcode project?

Possible Duplicate:
How to quickly set up Git for teams using Xcode?

I have an Xcode project folder on my Mac HD. Snow Leopard. The GitX GUI expects that I already have an Git repository. So I guess since I have GitX installed, I also have Git, and now I need to be cool and intelligent and know what to hack into the Terminal. But what? Is there any tutorial that explains this in minutes, not hours or even days?

  • Rebasing to change parent of a merge commit
  • Git: “wildcard refspec” with no match on remote, when pulling
  • How to conditionally skip maven tests on Jenkins for CI
  • Warning: Permanently added the RSA host key for IP address # to the list of known hosts
  • How to get modified files when I pull using NetBeans?
  • How does git handle symbolic links?
  • Working with Eclipse .classpath and project files in Git?
  • How to export version history from Serena Dimensions to Git?
  • Is there a conventional way to support more than one release in git?
  • Could I change my name and surname in all previous commits?
  • github - get git hash for commit with specific tag without cloning or pulling
  • git push origin DENIED by fallthru, hook declined: gitolite
  • 2 Solutions collect form web for “How to set up a Git repository for an Xcode project?”

    just git init in that folder

    this is a 20 minute git link

    and this is a every day most needed commands

    and this is the community book for further reading

    this SO post will help you also

    See this:

    Basically, go into the root of your project and type:

    $ git init
    $ git add .
    $ git commit

    (And note the . ad the end of the git add . command.)

    Git Baby is a git and github fan, let's start git clone.