$ git clone <https://github.com/libgit2/libgit2>
	#创建文件夹libgit2
	#并在里面初始化, 创建.git 子文件夹, 并把所有数据放在.git 里
	#然后读取最新版本所需的文件, 放在libgit2 文件夹里

$ git clone <https://github.com/libgit2/libgit2> mylibgit
	#自定义文件夹(仓库)名称

支持多种协议https:// or git:// or ssh(user@server:path/to/repo.git)

克隆仓库是包括历史记录的, 所有历史commit