Setup

git clone url
Clone a repository specified by url. This is similar to "checkout" in some other version control systems such as Subversion and CVS.
git init
Create an new git repository in the current directory or reinitialize an existing one.
git init --bare
Create an new git repository in the current directory without an associated working tree. This is useful for repositories that serve as mirrors.
git update-server-info
Allow a git repository to act as a dumb server (for remote access).