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

  1. Git Installation

    Install Git for Windows and configure the name and email recorded in commits.

  2. Connect GitHub

    Follow browser authentication when VS Code asks you to sign in to GitHub.

  3. Create Repository

    Create an empty private GitHub repository before adding your project files.

  4. Clone

    Clone an empty private GitHub repository in VS Code on Windows.

  5. Git status

    Check the Git status of project files moved into the cloned repository.

  6. Pull & Push

    Publish the first commit to GitHub, then exchange later changes with Pull and Push.

Optional guides

  1. GitHub Account Setup

    Check or create a GitHub account, verify its email address, and review security settings.

  2. Version Control

    Inspect commits and file changes with Git Graph in VS Code on Windows.

  3. Source control

    Inspect, stash, and discard changes or undo an unpublished commit in VS Code on Windows.

  4. 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.

  1. Conflict

    Resolve merge conflicts during Pull in VS Code on Windows and review the result.

  2. Recovery

    Inspect Git file changes and recover selected versions in the VS Code terminal on Windows.

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

Image preview