Module 1 — HTML Foundations
Write your first pages by hand, link them together, and put them on the web.
Time: about 2.5–3 hours (estimate)
About this module
What this module covers
You learn how the web delivers a page, how to write HTML by hand, how to link pages together, and how to publish your first page on GitHub Pages. This is foundational: every website, framework and page builder ends up as an HTML file a browser reads. You also finish the first week with something live on the web.
Tips for the learner
Some prompts ask you to explain code to yourself, out loud. Others ask you to write something down. Each habit does a different job.
Recite to understand. When a prompt says “out loud,” explain the code in your own words, as if you were teaching it. Saying it aloud makes a deeper impression than reading silently. It helps you picture how the pieces of code fit together. And it shows you right away which line you cannot explain yet. That line is the one to review.
Write it down to check yourself. When a prompt says “write down,” it is usually a prediction, a choice, or a guess about a bug. A written answer can’t change after you see the result, so the comparison is fair and you learn from the difference. Writing also keeps your attention on the lesson and helps you pick out the main points.
Keep one notebook for this course. Use it for your predictions, key terms, steps, mistakes, and questions to come back to. Date each entry and write the module number, so you can find it later. Before you start a new module, read your last few entries and recite one or two of them out loud.
The four badges
Every core concept moves through the same four steps, called IEIA. Each step is marked with its badge.
- Introduce (a lightbulb: a new idea) - You meet the concept: its name, and why it matters to you, in a sentence or two.
- Explain (a speech bubble: the idea in words) - How it works, one idea at a time, in plain words.
- Illustrate (an eye: see it) - A small example you can look at: a code snippet, a real screenshot or a diagram. Its caption, which starts with this badge, tells you what to notice.
- Apply (a keyboard: your turn) - A short task to do right now, before you read on. Often you type or predict something; sometimes you write it down, sketch it, or explain code to yourself out loud.
Contents
- Why this matters
- Before you start
- Core concepts
- 1. What happens when you visit a web page?
- 2. What are the parts of a URL?
- 3. How do you create, save and see a file in VS Code?
- 4. What does every HTML document need?
- 5. How do headings, paragraphs and lists work?
- 6. How does a link work?
- 7. How does an image work, and what is
altfor? - 8. What are semantic elements, and how do pages share navigation?
- 9. How do you publish your first page?
- Exercise
- Project (in the full packet)
- Common misconception
- Summary
- Check your understanding
- Before next module
- Go further
- What to keep
In this module you will learn:
- How the web works: client, server, request and response
- The parts of a URL: scheme, host, path (and the anchor)
- How to create, save and open files in VS Code, and the save → refresh loop
- The structure of every HTML document:
<!DOCTYPE html>,<html lang>,<head>,<body>,<meta charset>,<meta name="viewport">,<title> - Headings, paragraphs and unordered lists
- Links and
href, including same-page links to anid - Images,
srcandalt - The semantic elements
header,nav,main,sectionandfooter - Multiple pages, relative paths, and shared navigation you test link by link
- Publish your first page: the GitHub Skills Introduction to GitHub exercise, then
git init, your first commit,gh repo createand GitHub Pages - The save routine you use from Module 2 on:
git status,git add .,git commit,git push, then check the live page
Why this matters
Every web page you have ever opened started as a plain text file of HTML. The browser reads that file and turns it into headings, paragraphs, links and pictures. If you can write that file by hand, you understand what every website, framework and page builder is producing under the hood.
This module starts with how a page travels from a server to your screen. Then you write one page and see how two pages link to each other. You end by putting your work on the public web with your own address, so from the first week you have something live you can show someone.
You will not style anything yet. Plain black-and-white pages are the point: structure first, appearance in Module 2.
Before you start
- Finish Module 0. You need VS Code (AI features off), Edge or Chrome, Git, the GitHub CLI signed in (
gh auth status), and amy-sitefolder inside your course folder. - Make a second folder next to
my-sitecalledpractice-01. This is your practice folder for the Exercise. Nothing in it is published directly; in step 25 of the Exercise you copy your finished page intomy-site. - Find one picture you are happy to put on a public website (a photo you took, or a drawing). A photo taken with a phone can also store the place where it was taken, and anyone who downloads it from your site may be able to read that place (Apple Support, Manage location metadata in Photos). So do not use a photo taken at your home.
- Copy your picture into
practice-01. - Rename it
image-one.jpg, all lowercase. If yours is a.png, keep the.pngending and use that name everywhere this post saysimage-one.jpg. Windows treatsimage-one.JPGandimage-one.jpgas the same file, but a web server may not, so the picture can work on your computer and be missing online. Use lowercase names and match them exactly.
Checkpoint. You have
my-siteandpractice-01side by side, there is an image file inpractice-01, andgh auth statussays you are logged in.
Core concepts
1. What happens when you visit a web page?
The web is a conversation between two computers. Your browser is the client. The computer that stores the website is the server.
When you type an address or click a link, the client sends a request: “please send me this file.” The server sends back a response with the file’s contents. For a web page, that is HTML text. The browser reads the HTML, notices it also needs a stylesheet or an image, and requests those too. A stylesheet is a file of rules written in CSS, the language that controls how a page looks. Then it draws the page. While you are learning, you will often open a file straight from your own disk. Then there is no server at all; the browser reads the file directly, and the address starts with
file:///.
Two messages: the request goes out, the response comes back. Everything else in this course happens inside one of these two boxes.
Open any website and click one link. Write down which part was the request and which part was the response.
2. What are the parts of a URL?
MDN defines a URL as “the address of a unique resource on the internet” (MDN, What is a URL?). MDN is short for MDN Web Docs, a reference site about web technologies run by Mozilla. This course quotes it often and points you to its pages when you want more detail.
Read a URL left to right. The scheme (
https) tells the browser which protocol to use to ask. A protocol is a set of rules for how computers exchange data. After :// comes the host, also called the domain (www.example.com), which says which server to ask. Then the path (/about.html) says which file on that server. An optional anchor (#contact) points to a spot inside the page. MDN notes that the part after # “is never sent to the server with the request”; the browser uses it to scroll.
One URL, four parts. You will write paths and anchors yourself in this module.
Look at your browser’s address bar right now. Point to the scheme, the host and the path.
3. How do you create, save and see a file in VS Code?
An HTML page is a text file whose name ends in
.html. The home page of a site is called index.html by convention.
In VS Code, use File → Open Folder… and choose the folder you want to work in. The Explorer panel on the left lists its files. Use the New File button at the top of the Explorer, type the full name including
.html, and press Enter. When a tab shows a dot instead of an ✕, the file has unsaved changes. Press Ctrl+S to save. To see the page, open index.html in Edge or Chrome (double-click it in File Explorer, or drag it onto a browser window). After each save, press F5 to reload. From then on you work in a loop: edit → save → refresh. If the browser does not show your change, the most common reason is that you did not save. The next thing to check is that the browser shows the file you are editing: its address bar should end with that folder and file name, for example practice-01/index.html.
The first page in the next concept was opened from disk, which is why its address starts with
file:///.
You will create your first file in the Exercise. Remember the loop: edit, Ctrl+S, then F5 in the browser.
4. What does every HTML document need?
HTML is made of elements. Most elements have an opening tag, content and a closing tag:
<p>Hello</p>. The closing tag has a /.
Every page starts with the same skeleton.
<!DOCTYPE html> tells the browser this is modern HTML. <html lang="en"> wraps everything and states the page’s language, which MDN says helps search engines and people using screen readers. A screen reader is a program that turns what is on the screen into speech, mostly for people who cannot see it well. The <head> holds information about the page: <meta charset="utf-8"> sets the character encoding so any language’s characters display correctly; <meta name="viewport" content="width=device-width, initial-scale=1"> tells phones to use their real screen width instead of pretending to be a wide desktop; <title> is the text in the browser tab. The <body> holds everything visitors see.
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>My First Page</title>
</head>
<body>
<h1>Hello, web</h1>
<p>This is my first web page. I typed every line of it.</p>
</body>
</html>
The
<title> appears on the tab, not on the page. The <h1> and <p> are the only things in the body. Measured at 800 px wide. (page real: rendered in Chromium; browser frame drawn)
Predict: if you change only the text inside
<title>, what changes on screen? (Only the tab.)
5. How do headings, paragraphs and lists work?
Headings run from
<h1> (most important) to <h6>. Paragraphs are <p>. A bulleted list is an unordered list, <ul>, with one <li> (list item) per bullet.
Use one
<h1> per page for its main title, then <h2> for sections and <h3> inside those. Choose a heading level for its meaning, not its size; size is CSS’s job in Module 2. Every <li> must sit inside the <ul>.
<h2>Three favorites</h2>
<ul>
<li>A place I like to walk</li>
<li>A song I play on repeat</li>
<li>A food I could eat every week</li>
</ul>
You will see this exact list rendered (drawn by the browser) in the Exercise.
Without looking, write the opening and closing tags of a list with two items on paper.
6. How does a link work?
A link is an
<a> (anchor) element. Its href attribute holds the address to go to. An attribute is a setting written inside an opening tag as name="value"; it adds information about the element or changes what it does. The text between the tags is what people click.
href can be a full URL (https://developer.mozilla.org/), a relative path to another file in your site (about.html), or an anchor on the same page (#contact). For a same-page link, give the target element an id and put # plus that id in the href. MDN puts it this way: “Elements with an id attribute in the document automatically create a document fragment that can be linked to” (MDN, Creating links). An id must be unique on its page.
<a href="#contact">Contact</a>
...
<section id="contact">
<h2>Contact</h2>
</section>
The Exercise page uses a full URL, and the pages in Concept 8 use relative paths and an anchor.
Predict: what happens if the
href says #contacts but the id is contact? (The link does nothing, because no element has that id.)
7. How does an image work, and what is alt for?
An image is an
<img> element. It has no closing tag. src says which file to show. alt describes the picture in words.
src is a path, just like href; if the image sits in the same folder as the page, the path is just the file name. alt is read aloud by screen readers and is shown when the image cannot load. Write what the picture shows, as you would describe it to someone on the phone.
<img src="image-one.jpg" alt="A hill under a pale blue sky" width="320">
One wrong letter in
src and the picture is gone. The alt text is what remains, so make it useful. (real: rendered in Chromium)
Write
alt text for the picture you copied into practice-01. Keep it to one short sentence.
8. What are semantic elements, and how do pages share navigation?
Semantic means “says what it is.”
<header>, <nav>, <main>, <section> and <footer> look like nothing at all on their own, but they tell browsers, search engines and screen readers what each part of the page is for.
A typical page has a
<header> with the site name and a <nav> of links, one <main> with the page’s own content split into <section>s, and a <footer>. A site with several pages repeats the same header, nav and footer on every page. In plain HTML you do that by copying the same block into each file. Links between your pages use relative paths: about.html means “the file called about.html in the same folder as this page.” Because each page has its own copy of the navigation, you must click every link on every page after any change. A link to index.html#contact goes to another page and jumps to a spot on it. That is why the shared nav below uses index.html#contact, not just #contact: the Contact section exists only on the Home page. On the About page, a plain #contact looks for id="contact" on the About page, finds nothing, and the page does not move. index.html#contact works from both pages.
<header>
<h1>Practice Site</h1>
<nav>
<a href="index.html">Home</a>
<a href="about.html">About</a>
<a href="index.html#contact">Contact</a>
</nav>
</header>
The same page with each semantic element outlined and labeled. The outlines were added for this picture only; without CSS these elements are invisible. Measured at 800 px wide. (real: rendered in Chromium)
Captured after Chromium clicked the About link on the home page. Same header and links, different main content: that is shared navigation. (page real: rendered in Chromium; browser frame drawn)
For a two-page site, write down how many links you must click to test the navigation fully. (Three links × two pages = six clicks.)
9. How do you publish your first page?
Your pages live only on your computer. To give them a public address you need three things: a Git history of your folder, a copy of that history on GitHub (a repository), and GitHub Pages, which serves a repository’s HTML as a website.
Start with the free GitHub Skills exercise Introduction to GitHub. GitHub Skills is GitHub’s set of free interactive courses; they run inside GitHub and check your work automatically. Its page says it takes “less than one hour,” needs no installs, and has the prerequisite “None.” It introduces repositories, branches, commits and pull requests, and its four steps are: create a branch, commit a file, open a pull request, merge your pull request. A pull request is a proposal to merge the changes on a branch into the project. You start it with its Copy Exercise button, which makes your own copy of the exercise repository; the page suggests making it public. You will not use branches or pull requests on your own site until Module 12, but seeing the whole cycle once now makes the rest of the course easier to follow.
Then you save your own folder’s history with Git, on your computer:
git init
git add .
git commit -m "Add my first page"
git init turns the folder into a repository. git add . stages every file in the folder (the . means “this folder”). Staging a file means marking it to go into the next commit. git commit saves a snapshot with a message. git status and git log --oneline show you what Git sees.
git add . prints nothing when it works; git status proves the files are staged; git log --oneline shows your first commit; (HEAD -> main) marks the newest commit on main, the branch you are on (Module 12 explains it). Your commit id (the seven characters) will differ. (real output, rendered; captured on Linux, with the folder path changed to the course folder)
On Windows, git add may also print a warning about line endings (LF and CRLF). A line ending is the invisible mark a file stores each time you press Enter. It is not an error, and you can carry on. Whether you see it depends on your Git settings.
Then one GitHub CLI command creates the repository on GitHub and uploads your commit:
gh repo create my-site --public --source=. --remote=origin --push
The GitHub CLI manual describes the flags (the options that start with --): --public “Make the new repository public”; --source “Specify path to local repository to use as source” (. is this folder); --remote “Specify remote name for the new repository”; --push “Push local commits to the new repository.” A remote is a version of your project that is kept on the internet, here on GitHub. This post cannot show you this command’s output, because it needs your own signed-in account. When it works, it prints a few lines that start with ✓: one says the repository was created, one says a remote was added, and the last says your commits were pushed.
Finally, turn on Pages. GitHub Docs (Configuring a publishing source for your GitHub Pages site) gives these steps: on your repository, click Settings; in the Code, planning, and automation section of the sidebar, click Pages; under Build and deployment, under Source, select Deploy from a branch; choose the branch main and the folder / (root); click Save. A project site’s address has the form https://your-username.github.io/my-site/ (GitHub Docs, What is GitHub Pages?). Pages is free for public repositories.
Where the Pages settings live. Labels follow GitHub Docs; the real page has more on it and GitHub changes its layout from time to time.
Your Pages settings page may look slightly different from this drawing. The names Settings, Pages, Deploy from a branch, main, / (root) and Save are what matter.
Before you run anything, write down what each of the four commands above does in five words or fewer.
Exercise
Your hands, about 75 minutes (estimate). Steps 1 to 23 work in practice-01. Steps 24 to 35 put a copy of your page in my-site and publish it. Type every line. Do not paste. Typing is how you learn where the angle brackets and slashes go.
-
In VS Code, File → Open Folder… and choose
practice-01. Check the Explorer shows yourimage-one.jpg. -
Create a new file called
index.html. -
Predict. Before you type the body, sketch on paper what you expect to see: how many headings, how many bullets, one link, one picture.
-
Type the skeleton from Concept 4.
-
Change the
<title>toPractice Page. -
Inside
<body>, type an<h1>and a<p>. Choose your own words. -
Under them, type the first of three short parts. Each part is just an
<h2>and its content, with no<section>yet. The first part is an<h2>with a<ul>of three<li>items. -
Type the second part: an
<h2>with a<p>containing a link tohttps://developer.mozilla.org/. -
Type the third part: an
<h2>with your<img>, itsalttext andwidth="320", as in Concept 7. Without a width, a phone photo shows at its full size, often thousands of pixels wide, and the page scrolls sideways. -
Run. Save with Ctrl+S.
-
Open
index.htmlin Edge or Chrome. -
Compare with your prediction.
One example of a finished practice page. Yours will have your words and your picture. Measured at 800 px wide. (real: rendered in Chromium)
-
Modify. Add a fourth
<li>. Save, refresh, and count the bullets. -
Click the link and use the browser’s Back button.
-
Break it on purpose. Delete the closing
</h1>tag. -
Before you look, predict what will happen to the paragraph under it.
-
Save and refresh.
With
</h1>missing, the browser keeps the heading open, so the paragraph becomes part of it. The browser stops the heading when it meets the next<h2>, so the rest of the page looks normal. (real: rendered in Chromium)The browser did not show an error. It guessed. HTML mistakes rarely produce a message; they produce a page that looks wrong.
-
Put
</h1>back, save and refresh. -
Break it again. Change
src="image-one.jpg"tosrc="imge-one.jpg". Save and refresh. You should see youralttext where the picture was, as in Concept 7. -
Fix it.
-
Debug. Change the link’s
hreftohttps://developer.mozilla.orgg/(an extrag). Save, refresh and click. Instead of MDN you get the browser’s own error page, because no server answers at that host. -
Which part of the URL was wrong: scheme, host or path?
-
Fix it and click again.
Publish your first page. Do the GitHub Skills exercise from Concept 9 first if you have not yet. Then:
-
Copy your page into
my-site. In File Explorer, open your course folder.my-siteis the folder you made in Module 0, next topractice-01; if it is missing, create it. -
Copy
index.htmlandimage-one.jpgfrompractice-01intomy-site. Keep the nameindex.html: GitHub Docs says “GitHub Pages will look for anindex.htmlfile as the entry file for your site” (Troubleshooting 404 errors for GitHub Pages sites). -
Open
my-sitein VS Code. File → Open Folder… and choosemy-site. If VS Code asks whether you trust this folder, trust it: it is your own. -
Then Terminal → New Terminal. Check the prompt: it must end in
my-site>. If it ends inpractice-01>or anything else, openmy-siteagain before you type any Git command. -
Make your first commit. Type these commands one at a time:
git init git add . git commit -m "Add my first page" git log --onelinegit log --onelineshould show one commit with your message, as in the picture under Concept 9. Ifgit commitsays “Please tell me who you are,” you skipped part of Module 0: do its step 16 (all three lines). Then typegit status. If it saysOn branch master, typegit branch -m main, so your branch has the name GitHub Pages looks for in step 33. Then run thegit commitline again. -
Create the repository and upload. Type:
gh repo create my-site --public --source=. --remote=origin --pushLook for the ✓ line that says your commits were pushed. If you get an error instead, run
gh auth statusand check that you are logged in (Module 0, step 9). -
Turn on GitHub Pages. In your browser, open
https://github.com/your-username/my-site(use your own username). -
Click Settings, then Pages in the sidebar.
-
Under Build and deployment, under Source, choose Deploy from a branch.
-
Under Branch, choose main and / (root), then click Save.
-
Check that it worked. GitHub Docs says “It can take up to 10 minutes for changes to your site to publish” (Creating a GitHub Pages site). Wait a few minutes, refresh the Pages settings page, and click Visit site. Or type
https://your-username.github.io/my-site/into the address bar. You should see your practice page with its picture. If you see a “404” page instead, wait a few more minutes and press F5. A 404 means the server cannot find the file you asked for. If the page shows but the picture is missing online, check capital letters: change thesrcinmy-site/index.htmlto match the picture’s file name exactly, save, and use the routine in the “Save your work” box below. (Do not fix it by renaming the file: on Windows, Git keeps remembering the old name when only capital letters change.) GitHub Docs gives the same warning for the home page:Index.htmlwill not work in place ofindex.html(Troubleshooting 404 errors for GitHub Pages sites). -
Click the MDN link on your live page to test it.
Save your work: the routine you use from Module 2 on. Whenever you change a file in
my-site, put the change online with the same five steps. Work in a terminal whose prompt ends inmy-site>:git status git add . git commit -m "Say what you changed" git push
git statuslists the files you changed, for examplemodified: index.html.git add .stages them.git commitsaves a snapshot with your message.git pushuploads the new commit to GitHub; the--pushin step 29 already connected your folder to GitHub, so plaingit pushis enough. The fifth step is to check the live page: open your site address and press F5. A change can take a few minutes to appear. Try it once now: change one word inmy-site/index.html, save, and run the routine.
Project (in the full packet)
In the Exercise you published your practice page. Your project replaces it with the start of the personal website you will build all course: a Home page and an About page in my-site, each with the full document skeleton, a header with shared navigation, a main area in sections, and a footer, with every link tested on both pages. Then you put the new pages online with the save routine, so anyone with the link can open https://your-username.github.io/my-site/ and click between your two pages. The full brief, the step-by-step build, and the finishing work in Git are in the Module 1 packet. Get the packet → (opens in a new tab)
Common misconception
“If the page looks right in my browser, the HTML is correct.”
What would you say? Hint: think about step 17 of the Exercise, where the browser quietly guessed, and about who reads alt text.
Summary
A browser (the client) requests files from a server and draws the HTML it gets back. A URL names the scheme, the host, the path and optionally an anchor inside the page. You work in a loop of edit, save and refresh, and an unsaved file is the most common reason a change does not show. Every page has the same skeleton: doctype, html with lang, a head with charset, viewport and title, and a body. Headings give a page its outline, paragraphs hold text, and ul with li makes a bulleted list. An a element’s href can point to another site, another page by a relative path, or an id on the same page. An img needs a correct src and a useful alt. Semantic elements name the parts of a page, and shared navigation is copied onto every page and tested link by link. Git records your folder’s history, gh repo create puts it on GitHub, and GitHub Pages serves it at a public address. After that, every change goes online with one routine: status, add, commit, push, then check the live page.
Check your understanding
- In
https://www.example.com/about.html#contact, which part is never sent to the server, and what does the browser do with it? - You changed your page, refreshed, and nothing changed. Name two things to check, in order.
- What would you test after adding a third page to the Practice Site from Concept 8, so that its nav has four links, and how many clicks does it take?
Before next module
You should now be able to do these on your own:
- Your practice page has headings, a list, a link and an image, and you broke and fixed it
- You finished the GitHub Skills Introduction to GitHub exercise
-
git log --onelineinmy-siteshows at least one commit - Your
my-siterepository exists on GitHub and Pages is set to deploy frommain,/ (root) - Your first page opens at
https://your-username.github.io/my-site/, with its picture, and its link works - You ran the save routine once: git status → git add . → git commit -m “…” → git push → check the live page
You have only been introduced to these so far:
- The semantic elements
header,nav,main,sectionandfooter. Your practice page has none yet. Module 2’s Exercise has you add a<nav>. - Same-page links to an
id. Module 2’s Exercise has you write two. - Shared navigation and relative paths between two pages. You read about them in Concept 8 but built only one page.
- Branches and pull requests. You met them in the GitHub Skills exercise, with its instructions beside you. Module 12 uses them for real.
- CSS and stylesheets. Module 2 starts them.
Go further
- MDN: What is a URL?, What’s in the head? Web page metadata, Creating links, and the reference page for
<meta name="viewport"> - MDN: search “HTML elements reference” for
header,nav,main,sectionandfooter - GitHub Skills: Introduction to GitHub (github.com/skills/introduction-to-github)
- GitHub Docs: What is GitHub Pages? and Configuring a publishing source for your GitHub Pages site
- GitHub CLI manual:
gh repo create - freeCodeCamp: the HTML section of the Responsive Web Design curriculum
What to keep
Keep your practice-01 folder, the address of your live page, and a note of the four commands you ran to publish it. Then answer for yourself: which step would be hardest to repeat without this post, and why?
Code559 is a 559 Solutions project. Portions adapted from Visual Studio Code documentation (CC BY 3.0 US), GitHub Docs (CC BY 4.0), and GitHub Skills (MIT). Screenshots used with permission from Microsoft.
Sources checked 2026-10-09: MDN “What is a URL?”; MDN “What’s in the head? Web page metadata”; MDN “<meta name="viewport">”; MDN “Creating links”; GitHub Skills “Introduction to GitHub” (github.com/skills/introduction-to-github); GitHub Docs “What is GitHub Pages?”; GitHub Docs “Configuring a publishing source for your GitHub Pages site”; GitHub CLI manual “gh repo create”. Checked 2026-10-11: GitHub Docs “Creating a GitHub Pages site”; GitHub Docs “Troubleshooting 404 errors for GitHub Pages sites”; GitHub CLI source code (cli/cli on GitHub: pkg/cmd/repo/create/create.go and git/client.go, for what gh repo create --push prints and does); Apple Support “Manage location metadata in Photos” (Personal Safety User Guide). Checked 2026-11-17: MDN glossary “Style sheet”; MDN glossary “CSS”; MDN “About MDN”; MDN glossary “Protocol”; MDN glossary “Screen reader”; MDN glossary “Attribute”; MDN “Basic HTML syntax”; MDN “404 Not Found”; GitHub Docs “Git and GitHub learning resources”; GitHub Docs “About branches”; GitHub Docs “About pull requests”; GitHub Docs “Configuring Git to handle line endings”; git-scm.com “git-add”; Pro Git “Working with Remotes” (git-scm.com).
