Topic 1
Connect GitHub
Sign in to GitHub from inside VS Code so repository actions can open in the same working environment.
Sign in from VS Code
Before starting the GitHub sign-in, open the project folder in VS Code. Finishing the sign-in flow is simpler when the workspace is already open.
If VS Code shows an empty window, use Open Folder before starting the GitHub sign-in flow.
In the folder picker, choose the manuscript or project folder you are putting under version control.
When VS Code asks whether you trust the folder, accept it only if this is your own working folder so Git and extension features can run normally.
Once the folder is open, use the Accounts menu or Source Control prompts in VS Code to start GitHub sign-in.
Complete the browser flow
VS Code opens a browser page for authorization. Finish that flow with the GitHub account you prepared in the previous step.
GitHub can show a confirmation screen like this before access is granted to VS Code. Complete the prompt with your normal GitHub verification method.
Confirm the connection
Return to VS Code and confirm the project workspace is open. Check the Accounts menu or Git-related prompts to verify the correct GitHub account is recognized.
The workspace should be open and ready to continue from — not reset to an empty start screen.
Before proceeding
If the project folder is open in VS Code and GitHub no longer prompts you to sign in, proceed to repository creation.