1、安装git,
> sudo apt-get install git git-doc
2、去github建立repository
http://www.cnblogs.com/yourihua/archive/2012/07/07/2580147.html
3、生成ssh公钥
http://blog.chinaunix.net/uid-26185912-id-3327885.html
https://help.github.com/articles/generating-ssh-keys