在工作目录下:git init

添加远端仓库:git remote add origin xxx

提取远端仓库到本地仓库:git fetch origin

从本地仓库提取分支到工作目录下:git checkout origin xxx:xxx