yum install git
yum install git-gui (可选)
git config --global user.name "gg"
git config --global user.email gg@gmail.com
cat ~/.gitconfig
git init
git pull
增加https远程仓库地址
git remote add origin https://github.com/cgwu/c_cpp.git
git remote set-url origin https://gg@github.com/gg/c_cpp.git
git commit -am "your message"
git push origin