Step 3
Manage with GitHub
Install Git, connect GitHub, create an empty private repository, and clone it. Then check file status and push the first commit.
Core path
-
Git Installation
Install Git for Windows and configure the name and email recorded in commits.
-
Connect GitHub
Follow browser authentication when VS Code asks you to sign in to GitHub.
-
Create Repository
Create an empty private GitHub repository before adding your project files.
-
Clone
Clone an empty private GitHub repository in VS Code on Windows.
-
Git status
Check the Git status of project files moved into the cloned repository.
-
Pull & Push
Publish the first commit to GitHub, then exchange later changes with Pull and Push.
Optional guides
-
GitHub Account Setup
Check or create a GitHub account, verify its email address, and review security settings.
-
Version Control
Inspect commits and file changes with Git Graph in VS Code on Windows.
-
Source control
Inspect, stash, and discard changes or undo an unpublished commit in VS Code on Windows.
-
Gitignore
Use .gitignore in VS Code on Windows to keep generated files and local folders out of Git tracking.
Troubleshooting
Use these guides when the normal workflow stops or needs recovery.
Stage completion
Confirm local and remote history
You are ready to continue when the first pushed commit and intended source files appear on the same branch in GitHub.
Continue to Collaborate