Class 7 · CBSE AI · Strand B — Python for AI

What is GitHub? A gentle tour for beginners — Class 7

GitHub is where code lives and how developers collaborate. A first tour for young coders. For Class 7.

What this concept actually says

  • GitHub is where code lives and how developers share, collaborate on, and track changes to code
  • A commit is a saved snapshot of your code with a message explaining what changed and why
  • A README is the front door of a repository — it tells the world what the project does and how to use it

An analogy your child will recognise

School science fair project journal

A science fair judge does not just look at your final poster — they want to see your lab notebook showing every experiment, failed attempt, and revision. GitHub is that lab notebook for code. Every commit is an entry: date, what you tried, what changed.

Building a house with an architect

An architect keeps every version of the blueprint — the initial sketch, the revision after the client changed their mind, the structural changes after the soil test. GitHub does the same for code. You never throw away an old version; you add a new one on top, with notes explaining why.

Common misconceptions to watch for

  • You need to be an experienced programmer to use GitHub — in reality, GitHub is useful from day one as a place to save, share, and track your learning
  • Deleting a file from GitHub deletes it permanently — in reality, if it was ever committed, it exists in the history and can be recovered

Key facts in one breath

  • GitHub hosts over 420 million repositories and is the largest platform for open-source software in the world
  • Git (the underlying tool) and GitHub (the platform) are different: Git is the version control system; GitHub is the cloud service that hosts Git repositories
  • A repository's README is written in Markdown — a simple formatting language that renders nicely on GitHub
  • Public repositories are visible to everyone; private repositories are only accessible to invited collaborators — choose based on what you are sharing

How Dhee Learning teaches this — the 3-stage question loop

Every Dhee Learning session for this concept follows three stages. We share the questions Dhee actually asks, so you can hear what a session sounds like.

Stage 1 — Surface

You have been saving your Colab notebook in Google Drive. Why might that be a problem if you want to share your work with someone else or come back to it in six months?

Rote answer

"GitHub stores your code online"

Understood

"Google Drive keeps only the current version — if you overwrite something, it is gone. GitHub keeps every version ever saved with a message about what changed, so you can see the full history of your thinking and revert to any earlier version."

Stage 2 — Reasoning

Why does a good commit message matter? Compare 'fixed stuff' to 'fix KeyError in data cleaning when income column has null values'. What information does the second one preserve that the first one loses?

Follow-up Dhee may use: If you are working on a team and someone writes 'updated file' as a commit message, what is the real cost to the team?

Stage 3 — Application

Create a GitHub account, make a repository for your AI project, upload your best Colab notebook, and write a README that explains what the project does, what data it uses, and what you found. Show me the README — does a stranger reading it know enough to understand your work?

Misconception Dhee watches for: Treating GitHub as just a backup service rather than a communication and collaboration platform — the README and commit messages are as important as the code itself

Related concepts

Want your child to actually understand this?

Dhee turns this concept into a 15-minute spoken session — asking, listening, and probing — so your child builds the idea themselves.

Frequently asked questions

What is github — the gentle tour — explained for kids? +

GitHub is where code lives and how developers collaborate. A first tour for young coders. For Class 7.

What's the most common mistake children make about this concept? +

You need to be an experienced programmer to use GitHub — in reality, GitHub is useful from day one as a place to save, share, and track your learning

How does Dhee Learning teach this in a Class 7 session? +

Dhee opens with a question — for example: "You have been saving your Colab notebook in Google Drive. Why might that be a problem if you want to share your work with someone else or come back to it in six months?" — listens to your child's answer, then probes the reasoning behind it. The session ends when the child can apply the idea to a brand-new situation, not just recall it.