Skip to content

Stage 7 — Connect to GitHub

Create an empty repository on github.com and tell your local project where it lives.

What You'll Learn

  • What a remote is
  • How to create an empty GitHub repository
  • git remote add origin <url>
  • git remote -v

Prerequisites

What Changes

No project files change. You create a brand-new repository on GitHub and attach it to your local repo as the remote named origin. Nothing has been uploaded yet.

Outcome

  • An empty repository exists at https://github.com/<your-username>/box-runner.
  • git remote -v prints two lines showing the fetch and push URLs for origin.
  • The webpage is unchanged.