【step】:
- Initialize the local repository:
git init
- Establish a connection with the remote git repository:
git remote add origin 仓库地址
- Get the remote branch:
git fetch origin 分支名称
- Establish a local branch and a remote branch association:
git checkout -b 本地分支 仓库/远程分支
- Pull the specified branch code:
git pull 仓库 指定分支名
[Example]: