In the past, I often right-clicked on the folder to open git bash, then pulled the code through the git clone command, opened the newly cloned folder by opening a new vscode window, or directly dragged the folder to the new version of vscode You can also right-click the cloned folder to open it through vscode
In fact, vscode can directly clone the code, which is more convenient. The steps are as follows: