Lesson 3 / Project ownership

Keep the website under your control.

GitHub is a place to keep project files and a history of changes. It is not automatically your domain registrar or live website host.

First repository checklist

  1. Create a GitHub account you control and turn on two-factor authentication.
  2. Create a new private repository for unfinished website work, with a README explaining its purpose.
  3. Keep site code separate from drafts, internal research, and private records.
  4. Review changes before merging them into the production branch. Never commit credentials or customer data.
  5. Pick a website hosting service and preview the site before connecting a public domain.

GitHub + Cloudflare

A Git-connected Cloudflare Pages project can build and deploy a static website from a private repository. Configure the project, choose the correct build command and output directory, and verify the preview before attaching your domain.

Connecting a repository to a deployment platform can publish its selected branch automatically. Do not connect an unreviewed project simply because the button exists.

Beginner rules that prevent expensive mistakes

Official reference: GitHub: creating a repository.

Return to learning path →