$ git clone https://github.com/git/git.git git3
将代码clone到指定的文件夹中
自己指定remote的名称
$ git clone -o git https://github.com/git/git.git git4
$ git remote -v
git https://github.com/git/git.git (fetch)
git https://github.com/git/git.git (push)
使用git clone --depth=1 之后,需要看完整的history
Use git pull --unshallow
and it will download the entire commit history.