==install in cgwin
add "git" "ssh"
==go into local project folder
git init
(git add .
git commit)
==add your config
git config --global user.name 'sunxboy'
git config --global user.email sunxboy@gmail.com
git config --global color.diff auto
git config --global color.status auto
git config --global color.branch auto
==create public key
ssh-keygen -C 'sunxboy@gmail.com' -t rsa
enter -> enter -> enter
copy the content of the "id_rsa.pub" file into the github page which
your project is. (admin->deploy keys-> add deploy key)
==test it if it works
cd ~/SmartVoice
touch README
git add README
git commit -m 'first commit'
git remote add origin git@github.com:sunxboy/SmartVoice.git
git push -u origin master
("master" is the branch name)