AI Learning Hub › Learn AI › Self-Paced Courses › GitHub Without the Jargon › What GitHub Actually Is

Module 1 ยท Beginner

What GitHub Actually Is

What a repository is, what its page is showing you, and the basic difference between Git the change-tracking system and GitHub the place projects live.

By the end

  • Explain what a repository is
  • Recognize a file and folder inside a repository
  • Understand that GitHub keeps a history of changes
  • Recognize the main areas of a repository page
  • Explain the basic difference between Git and GitHub
  • Open a GitHub repository and know where to start looking

What am I looking at?

This module is built around one question: what am I looking at when someone sends me a GitHub link?

The short answer is the one worth carrying:

GitHub is a place where a project, its files, its history, and the work around those files can live together.

That sentence is doing more work than it looks. Four things it rules out:

GitHub is not a programming language

This is the misconception that stops people at the door, so it is worth dismantling first.

A repository can contain:

GitHub’s own description is deliberately broader than “code.” Its documentation calls a repository “a place where you can store your code, your files, and each file’s revision history” — your code and your files listed as two different things.

The easiest beginner mental model is this: a repository is a project folder with memory.

The analogy is intentionally simplified. Unlike an ordinary folder, a repository can preserve a history of changes and support collaboration around them. GitHub’s documentation adds that repositories “can have multiple collaborators and can be either public or private” — neither of which a folder on your desktop does on its own. Later in this module we test the analogy properly and find where it breaks.

Three words to learn

Repository

A project space on GitHub that contains files and keeps track of their history.

Commit

A recorded snapshot of changes to a repository at a particular point in its history.

Git

The version-control system that tracks changes to files; GitHub is a service built around repositories that use Git.

These are the beginner versions, and they are doing you a favor. Each has a more exact technical definition that would cost more than it buys today. Later modules bring in the precision at the point where it starts to matter.

Where the exact definitions differ, for anyone who wants them now

A commit: changes, or a snapshot? GitHub’s documentation says a commit “records changes to one or more files.” Git itself stores each commit as a complete snapshot of the project at that moment. Both descriptions are in wide circulation, including from GitHub, and both are used loosely. The difference does not affect anything you will do for several modules yet.

A repository does not have to be on GitHub. GitHub’s own terminology table defines a remote as “a repository stored on GitHub, not on your computer” — which quietly admits that the other kind exists. This course teaches the GitHub-hosted case first because that is where a link takes you, and returns to the local kind later.

Words you will see today, and do not need yet. On the page you are about to look at, and on almost any repository you open, you will find branch, main, tags, fork, clone, and pull requests. Every one of them is real and has a precise meaning, and later modules introduce them one at a time. For Module 1 they are furniture. You do not need them to read a project.

Git and GitHub are related — but they are not the same thing

Keep this as simple as it looks.

Git

Tracks changes to files over time.

Can work on a computer without GitHub.

GitHub

Hosts Git repositories and adds a web interface and collaboration features around them.

Is where most people meet a repository for the first time.

Git is the change-tracking system. GitHub is one place where people work with repositories that use it.

GitHub states the relationship in almost those terms: it “builds on Git by hosting your Git projects, called repositories, in the cloud, as well as adding planning and collaboration tools that make it easier for teams to work together.”

You do not need to be able to use Git to read this page, or the next several. Knowing that the two are different things is enough for now. The reason it is worth knowing at all is that documentation, colleagues, and error messages will use the two words as if the difference were obvious.

Look at a repository before touching anything

Rather than describe a repository page from memory, we opened one and looked at it.

The repository is Spoon‑Knife, published by GitHub’s own octocat account. It is public, deliberately tiny, and exists for exactly this purpose: its description reads “This repo is for demonstration purposes only.” Nothing in it belongs to anyone at Stanford, and nothing about it is unusual.

These were the areas actually on the page, using the labels GitHub actually showed:

The owner and repository name
At the very top, the account that owns the project and the project’s own name appear together, separated by a slash: octocat / Spoon-Knife. The name repeats below in larger type, with a Public badge beside it.
Code
The first tab, and the one you land on. It shows the project’s files.
The file list
One row per file or folder. Each row carries the file’s name, the message from the most recent change that touched it, and how long ago that was.
The bar above the file list
The most recent change to the project as a whole: who made it, its message, a short code identifying it, when it happened, and a count reading 3 Commits. That count is a link into the full history.
README
A panel below the file list, showing the contents of one file rendered as formatted text rather than as raw characters.
About
A panel to the right, carrying the project’s one-line description and some counts.

Several other controls were on screen: main, 3 Branches, 0 Tags, Go to file, Add file, and a green Code button, along with Watch, Fork, and Star. So were more tabs: Issues, Pull requests, Agents, Actions, Projects, Wiki, Security and quality, and Insights.

You do not need any of those in Module 1. They are listed here only so that seeing them does not feel like evidence you are in the wrong place.

The Code tab of the public Spoon-Knife repository on GitHub. A row of tabs runs across the top reading Code, Issues, Pull requests, Agents, Actions, Projects, Wiki, Security and quality, and Insights. Below it the repository name Spoon-Knife appears beside a Public badge, with Watch, Fork, and Star buttons to the right. A row of controls reads main, 3 Branches, 0 Tags, Go to file, Add file, and Code. A shaded bar below it shows the most recent change: the author octocat, the message Pointing to the guide for forking, a short code, 13 years ago, and a count reading 3 Commits. Under that bar sit three file rows, README.md, index.html, and styles.css, each with its own change message and 13 years ago. A README panel below the files displays the heading Well hello there! and several paragraphs of ordinary prose. A sidebar on the right headed About carries the description This repo is for demonstration purposes only.
One repository page, whole. Observed on GitHub on 18 September 2026. The browser window and the signed-in account area above the tabs are cropped out. Open full-size image: one whole repository page (opens in a new tab)

Observed on GitHub

Verified: 18 September 2026.

GitHub changes its interface over time. The labels and layout shown here describe the interface observed on this date, in one browser, on one public repository. Treat the picture as a dated observation rather than as permanent documentation — if what you see differs, your screen is right and this page is out of date.

Some of what is on screen is already newer than most published tutorials: the tab reading Security and quality was once labeled simply Security, and the Agents tab is recent enough that many guides do not mention it at all.

The files are the project

Strip away the tabs and the buttons and a repository is a list of files. In the one above, the whole project is three of them:

File names are informative on purpose. A name like logo.png tells you it is probably an image; index.html suggests a web page; styles.css suggests something about how that page looks. The part after the final dot — the file extension — is the strongest clue.

You do not need to understand every file before navigating a repository. Recognizing that a file exists, and forming a reasonable guess about its role, is enough to find your way. Opening a file you do not understand costs nothing and changes nothing.

Repositories can also contain folders, which appear in the same list with a folder icon and open into another list of files. The demonstration repository above happens to have none, which is itself worth noticing: a repository is not required to have folders, and a very small project often does not.

README.md is commonly a Markdown file — a plain-text file written with a few simple formatting conventions, which GitHub renders into the tidy text you saw in the README panel. You do not need to learn those conventions to read the result.

Start with the README

Many repositories include a file named README.md, and GitHub gives it special treatment: when the file is in one of a few expected places, GitHub “will recognize and automatically surface your README to repository visitors.” That is why it appeared as a formatted panel below the file list rather than as one more row to click.

A README often explains:

GitHub’s own guidance suggests much the same list: what the project does, why it is useful, how to get started, where to get help, and who maintains it.

Two pieces of precision are worth keeping, because they will save you from a wrong assumption later:

When a README exists, it is usually a good first place to orient yourself.

The project remembers changes

This is where commit starts to earn its place.

When people record changes to a repository, Git preserves a history of those changes as commits. Each one is a point in the project’s past that can still be looked at.

A commit can tell you things such as:

All four were visible on the page above without clicking anything. The shaded bar named an author, a message, and a time; the count beside it read 3 Commits; and each file row showed the message from whichever change last touched that file.

A commit message is written by a person. It is a claim about a change, not a verified description of one — useful, and worth reading skeptically.

You do not need to know how a commit is made, or how to read the short code beside it. Making one comes later in the course, in Module 3.

Where the folder analogy works — and where it stops

“A project folder with memory” gets you a long way. Here is where it holds and where it gives out.

Like a project folder

  • contains files;
  • contains folders;
  • files can be opened; and
  • people organize related work together in it.

More than a project folder

  • records a history of changes;
  • supports multiple contributors at once;
  • supports discussing and proposing changes; and
  • can connect the project’s work to reviews and automation.

Those items in the second column are why a repository page has so many tabs on it. GitHub has features for proposing and reviewing changes — we will get there later. For now it is enough to know that the extra machinery exists because the second column exists.

What can you tell without understanding the code?

Here is a repository that does not exist. Only its file list is given.

faculty-resource-guide — file list
faculty-resource-guide/

README.md
index.html
assets/
data/
LICENSE

Without opening anything, and without understanding any code, what can you already infer?

Give yourself a moment with it before opening the reveal. Forming your own reading first is the exercise; reading ours first is not.

One possible reading

Note the heading: one possible reading. This is what the names suggest, not what the repository contains.

  • The repository appears to hold a project called Faculty Resource Guide. The name is a human choice and could be inaccurate, but it is the strongest single clue on the page.
  • README.md may explain the project. It is the first thing to open.
  • index.html suggests a web page may be involved — a guide that is published rather than circulated as a document.
  • assets/ is a folder, and by convention likely holds supporting files such as images, styles, or scripts. The name alone does not prove what is inside it.
  • data/ is a folder that likely holds project data. What kind, in what format, and how current are all questions the name cannot answer.
  • LICENSE may describe terms for reuse. Its presence suggests someone thought about how others might use this.

Notice how much of that is hedged. “Likely,” “suggests,” and “may” are not padding — they are the accurate words for what a file name can support. File names give you clues; opening the files gives you evidence.

A GitHub link may point to different things

Not every GitHub link takes you to a whole project. One might point to:

You do not need to read the address to work out which. The page itself will usually tell you: a repository page shows a file list and, often, a README; a single file shows one file’s contents and its name at the top.

For Module 1 the only question worth asking is whether you are looking at the whole project or one part of it.

Getting that wrong is the most common reason a GitHub page feels incomprehensible. A single file, read as if it were the whole project, is genuinely baffling.

You do not need a terminal to start

If you have been avoiding GitHub because you assumed it required a command line, the assumption is worth checking against what GitHub says.

GitHub’s documentation lists several ways to connect, and the browser is the first of them. It states that in the user interface on GitHub.com you can carry out the ordinary work of contributing to a repository — and, in as many words, that you can “commit changes in the user interface, so you don’t need to use the command line or memorize any Git commands.” It adds that working directly on GitHub.com “is often the quickest way to contribute to a repository.”

The terminal is another way to work with GitHub rather than the price of admission.

This is not a promise that you will never want a terminal. Some work is genuinely easier there, and some is only possible there; a later module in this course goes to meet it deliberately. None of it is required to read a project, and a good deal of it is not required to change one.

What to notice

A repository gives you three useful things before you write any code.

Files

What exists now.

History

How it changed.

Context

Information around the project, often beginning with the README.

You can learn a great deal about a project before changing anything, and reading first is what experienced people do when they open an unfamiliar repository rather than a beginner’s detour on the way to the real work.

Before you continue

You are ready for Module 2 if you can: