Git

git distributed revision control and source code management. The goal of this article is to easily get a git repository up and running pushing and pulling, and making the installed version of git comparable with (the majority of) http://git-scm.com/book/en/.

Installation
Install :

Local
Someone familiar with using git for local folder management, please complete this section

Server
In this section will cover setting up a git server for remote project management through SSH.

Initial Server Setup
Note: The git server is only necessary if you intend to have an unauthenticated read-only server for people to get your code from. See here: http://git-scm.com/book/en/Git-on-the-Server-Git-Daemon

If you're not sure, then skip this section.

Start by creating the needed group, user, and home directory. The user uses the git-shell to prevent normal shell access.

Edit to change user from "nobody" to "git" and start the daemon.

SSH Keys
SSH is the prefered method to handle the secure communications between client and server. For Git to work properly, you must have private/public key logins enabled and all client public keys added to. For more information and instructions on how to enable, create, and share keys, please see the SSH - Passwordless Authentication wiki page.

Create a Repository and make the First Commit
On the server:

Become user git to make sure all objects are owned by this user

Create a bare repository

On a the client station:

Common Commands
Clone a repository:

External resources

 * git flow documentation, client side scripts to make git repository management a snap.
 * Git Handbook
 * Git Homepage
 * Git Wikipedia Entry