git init
git clone https://github.com/xxx.git
git config user.name "xxx"
git config user.email "xxx@sina.com"
git status
git add .
git remote add origin https://github.com/xxx.git
git pull --rebase origin master
git commit -m "init"
git push origin master