# Open VS Code terminal (Ctrl+`) git pull origin main
Use if you are downloading the project for the first time. how to pull code from github to vscode
If GitHub asks for a password, it’s best to use a Personal Access Token (PAT) or sign in via the browser pop-up that VS Code provides. # Open VS Code terminal (Ctrl+`) git pull
Choose Pull from the dropdown menu. VS Code will automatically fetch the latest data from GitHub and merge it into your local files. how to pull code from github to vscode