This page summarizes the basic git commands to work with CMSSW

git init
git config --global user.name "your name as in github"
git config --global user.email "your email"
git config --global core.editor "your favorite editor (ex. emacs)"
#check your settings
git config --list
git clone git@github.com:fwyzard/cms-git-tools.git
#add this line to your ~.cshrc
export PATH=$PWD/cms-git-tools:$PATH
scram p CMSSW_X_X_X
cd CMSSW_X_X_X/src
cmsenv
git cms-init
git cms-addpkg "Package"