1.安装好git,桌面右击选择Git Bash Here
2.输入命令
ssh-keygen -t rsa -C "youremail@example.com"
3.按4-5个回车后就生成了
4.到C:Users自己电脑的用户名.ssh下把id_rsa.pub文件的内容复制到github上