git:setup - evanmoran/quick GitHub Wiki
Install in OSX
brew install git
Install in Ubuntu
apt-get install git
Setup with Clone:
git clone <git_repro_address> # Initialize repro (must already exist)
Setup manually:
git config --global user.name <name>
git config --global user.email <email>
git init
touch README.md
git add .
git commit -m 'Initial commit'
git remote add origin https://github.com/<username>/<project>.git
Fetch from upstream of origin
git remote add upstream git://github.com/your/path.git
git fetch upstream
git rebase upstream/master