Creating Your First Repository

Introduction

A repository — usually shortened to "repo" — is the folder GitHub keeps for a single project. It holds your files, a full history of every change you save, and the settings that decide who can see the project. Before you can write a line of HTML for this course, you need a place to put it, and that place is a repository you create and configure yourself.

Creating a repo looks like a short form, but each field matters. You will navigate to the New Repository page, choose a name (which later becomes part of your public GitHub Pages URL), decide between public and private visibility, and choose whether to initialize the repo with a README file. After you click Create, you should be able to recognize that the repository exists, read its landing page, and find the controls for adding files.

While watching these videos, pay attention to where the "New" button lives, how the name field reacts as you type, what the public/private choice actually changes, and what the repository page looks like immediately after creation. Also notice the different ways files get into a repo — drag-and-drop upload, the web editor, and the commit-based GitHub flow — because you will use those methods throughout the module.

Video 1: How to create your first GitHub repository: A beginner's guide | Tutorial

GitHub · 9:32 · 332,965 views · 2y ago · captions — Watch on YouTube

About this video

An official GitHub beginner tutorial that walks through creating a repository from start to finish. Based on its title and description, it covers getting to the new repository screen, filling in the name and description, choosing visibility, and the initialization options such as adding a README. It ends with the newly created repository so you can see what success looks like.

Why this video

This is produced by GitHub itself, so the interface and terminology match what you will see in your own account, and it maps directly onto every subtopic from navigating to the New Repository page through confirming creation.

Video 2: How to upload files and folders to GitHub: GitHub for Beginners

GitHub · 3:51 · 422,058 views · 2y ago · captions — Watch on YouTube

About this video

A short, focused video showing how to get existing files and folders into a GitHub repository. It demonstrates more than one approach to uploading, so you can see both the browser-based upload path and an alternative method for moving a project into your repo.

Why this video

Creating an empty repository is only useful once something is in it; this GitHub-produced clip is the natural next step and reinforces what the repository landing page offers right after creation.

Video 3: How to add code to your repository | GitHub beginner tutorial

GitHub · 5:41 · 83,851 views · 2y ago · captions — Watch on YouTube

About this video

This tutorial introduces the GitHub flow and how code is actually added to a repository within it. Expect coverage of working with files, making changes, and saving them back to the repo through commits, framed as a repeatable process rather than a one-time upload.

Why this video

It connects the setup steps you just completed to the ongoing workflow you will use all semester, and it comes from GitHub's own beginner tutorial series, so the vocabulary is consistent with the previous videos.

How These Videos Support the Learning Outcomes

These three videos build the first half of MO1: an official, step-by-step walkthrough of creating and configuring a repository, which is the container your GitHub Pages site will later be published from. Because the repository name becomes part of your public site URL, the naming and visibility segments also prepare you for MO4, where you explain how GitHub Pages derives a URL from your username and repository name. The upload and GitHub flow videos introduce the commit-based habit behind MO3 and MO5, showing how files move from your machine into a repository on GitHub before anything can appear on a live site. The HTML structure work in MO2 happens in a later topic, but you will need this repository ready to hold that first index.html file.

About These Videos

These videos were chosen from YouTube on October 3, 2026. Each has captions; the player turns them on. Videos on YouTube can be changed or removed — if one no longer plays, tell your instructor. If a player does not appear, use its Watch on YouTube link.