1、首先,得需要注册一个GitHub账号
https://github.com/
2、如果没有安装过git根据下列链接下载安装
https://git-for-windows.github.io/
3、进入GitHub的官网,新建一个仓库
4、填写相关信息
Repository name: 仓库名称
Description(可选): 仓库描述介绍
Public, Private : 仓库权限(公开共享,私有或指定合作者)
Initialize this repository with a README: 添加一个README.md
5、点击后在右边的clone or download 按钮点击它,出现一个地址,copy下来备用