Setting up a local GIT repository:
Open Terminal and change to the directory where your project is located (cd /path/to/your/project). Then use the following shell commands:
git init git add . git commit -m "my initial commit (or any other comment you feel like)"
NOTE: as of Mountain Lion you need to install the Xcode Command Line Tools for this to work (under Xcode Preferences – Downloads – Components).
Setting up a local SUBVERSION repository:This content is for members only.