How do I copy code from GitHub to VS Code? Open the command palette with the key combination of Ctrl + Shift + P . At the command palette prompt, enter gitcl , select the Git: Clone command, then select Clone from GitHub and press Enter. When prompted for the Repository URL, select clone from GitHub, then press Enter.