Skip to content

Module 4: What is GitHub?

๐ŸŽฏ What you'll learn: The difference between Git and GitHub, what GitHub actually is, a tour of its features, and how it fits into your workflow.


Git โ‰  GitHub โ€” The Most Common Confusion

Let's clear this up once and for all:

Git GitHub
What A version control tool A platform/website
Where Runs on your computer Runs in the cloud (github.com)
Created by Linus Torvalds (2005) GitHub Inc (2008), now owned by Microsoft
Cost Free, always Free tier + paid plans
Needs internet No โ€” works fully offline Yes โ€” it's a website
Needs the other No โ€” Git works without GitHub Yes โ€” GitHub uses Git underneath

The Analogy

Think of it like Word and OneDrive:

Git     = Microsoft Word        (the tool that creates and tracks documents)
GitHub  = OneDrive              (the cloud service where you store and share them)

You CAN use Word without OneDrive  โ†’  You CAN use Git without GitHub
You CAN'T use OneDrive without Word (or similar)  โ†’  GitHub USES Git underneath

Another way:

Git    = The engine      ๐Ÿ”ง   (does the actual work)
GitHub = The garage      ๐Ÿ    (stores it, lets others see it, adds features)

๐Ÿ’ก Key point for your role: When customers say "we use GitHub" โ€” they might mean Git, GitHub, or both. Knowing the difference makes you sound sharp in conversations.


What is GitHub?

GitHub is the world's largest software development platform. It uses Git for version control, but adds a huge layer of features on top:

Feature What It Does Analogy
Repositories Store projects + history Cloud folders for your projects
Pull Requests Propose and review changes "Can you check my work before I merge?"
Issues Track bugs, features, tasks A built-in to-do list for your project
Actions Automate builds, tests, deploys A robot assistant that does work when you push
Pages Host websites for free Free web hosting
Codespaces Cloud development environments A full computer in your browser
Copilot AI coding assistant The tool you're using right now!

GitHub by the Numbers (2026)

Metric Number
Developers 100+ million
Repositories 420+ million
Organisations 16+ million
Owned by Microsoft (since 2018, $7.5B acquisition)

Microsoft + GitHub

Microsoft bought GitHub in 2018 for $7.5 billion. This is directly relevant to your role โ€” GitHub is a Microsoft product, and GitHub Copilot is a key Microsoft AI offering. When you talk to customers about Copilot, you're talking about a GitHub product backed by Microsoft.


Tour of a GitHub Repository

Let's look at a real repo you own โ€” aguidetocloud-revamp:

github.com/susanthgit/aguidetocloud-revamp
โ”œโ”€โ”€ ๐Ÿ“„ Code tab          โ† Your files (what you see first)
โ”‚   โ”œโ”€โ”€ content/         โ† Hugo content files
โ”‚   โ”œโ”€โ”€ themes/          โ† Theme files
โ”‚   โ””โ”€โ”€ config.toml      โ† Hugo configuration
โ”œโ”€โ”€ ๐Ÿ“‹ Issues tab        โ† Bug reports, feature requests
โ”œโ”€โ”€ ๐Ÿ”€ Pull Requests tab โ† Proposed changes
โ”œโ”€โ”€ โšก Actions tab       โ† Your auto-deploy workflows!
โ”œโ”€โ”€ โš™๏ธ Settings tab      โ† Repo configuration
โ””โ”€โ”€ ๐Ÿ“Š Insights tab      โ† Traffic, contributors, activity

What Each Tab Does

Tab Purpose You've Used It?
Code Browse files, see README, download โœ… Yes โ€” this is what you see when you visit the repo
Issues Track bugs, ideas, tasks โœ… Yes โ€” you filed one for easycopilotlab!
Pull Requests Review & merge changes Module 7 covers this
Actions CI/CD automation โœ… Yes โ€” your auto-deploy runs here!
Settings Secrets, permissions, branch rules โœ… Yes โ€” deployment tokens stored here

What is a Remote Repository?

In Module 2, you learned about the Repository (local, on your machine). A remote repository is a copy stored somewhere else โ€” usually GitHub.

โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”           โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
โ”‚  LOCAL REPO       โ”‚           โ”‚  REMOTE REPO      โ”‚
โ”‚  (your computer)  โ”‚ โ†โ€”โ€”โ€”โ€”โ€”โ€”โ†’ โ”‚  (GitHub)          โ”‚
โ”‚                   โ”‚  push/   โ”‚                    โ”‚
โ”‚  Where you WORK   โ”‚  pull    โ”‚  Backup + sharing  โ”‚
โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜           โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜

You can have multiple remotes (GitHub, Azure DevOps, GitLab), but most people just have one โ€” called origin by convention.

Term Meaning
origin The default name for your main remote (usually GitHub)
push Send your local commits to the remote
pull Get remote commits to your local machine
clone Copy an entire remote repo to your local machine for the first time

GitHub Features โ€” What You Get Beyond Git

1. GitHub Actions โšก (You Already Use This!)

Automated workflows that run when you push. Your aguidetocloud-revamp repo has an Action that:

  1. Triggers on git push
  2. Builds your Hugo site
  3. Deploys to Azure Static Web Apps
  4. Your website is live!
You: git push
  โ†“
GitHub Actions: "I see a push! Running the workflow..."
  โ†“
Build Hugo site โ†’ Deploy to Azure โ†’ โœ… Website updated!

2. GitHub Issues ๐Ÿ“‹

A built-in task tracker for each repository. You can: - Report bugs ("The menu page is broken") - Request features ("Add a search bar") - Track to-dos with labels and assignees - Link issues to pull requests

3. GitHub Pages ๐ŸŒ

Free website hosting directly from a repository. Perfect for: - Personal websites - Project documentation - Portfolios

(Your sites use Azure Static Web Apps instead, but Pages is a popular free alternative.)

4. GitHub Codespaces โ˜๏ธ (Cloud Development)

A full development environment in your browser. No installation needed โ€” just a browser!

Feature What It Means
What it is A Linux VM in the cloud with VS Code
How to launch Click "Code" โ†’ "Codespaces" on any repo, or press . for github.dev
What's included Terminal, Git, VS Code, extensions, all tools
Cost Free: 60 hours/month for personal accounts
Use case Work from any device, quick fixes, temporary environments
Three ways to edit code:

1. LOCAL (your PC)          โ† Full power, works offline
2. github.dev (browser)     โ† Quick edits, no terminal
3. Codespaces (browser)     โ† Full environment, has terminal

๐Ÿ’ก Keyboard shortcut: On any GitHub repo page, press . (period) to instantly open github.dev โ€” VS Code in your browser!

5. GitHub Copilot ๐Ÿค–

The AI assistant you're using right now! Copilot lives in: - GitHub Copilot CLI (what we're chatting in) - VS Code (code suggestions while you type) - GitHub.com (Copilot Chat on the website) - Mobile apps


GitHub vs Alternatives

GitHub isn't the only Git hosting platform:

Platform Owner Key Difference
GitHub Microsoft Largest community, Copilot, Actions
GitLab GitLab Inc Built-in CI/CD, self-hostable
Bitbucket Atlassian Integrates with Jira, smaller teams
Azure DevOps Microsoft Enterprise focus, Boards + Pipelines

๐Ÿ’ก For your role: Microsoft has both GitHub and Azure DevOps. GitHub is the developer-first platform (community, open source, Copilot). Azure DevOps is the enterprise platform (project management, Boards, more governance). Many organisations use both!


Your GitHub Account

You have two GitHub accounts:

Account Type Used For
susanthgit Personal Your websites, content, personal projects
ssutheesh_microsoft Enterprise (EMU) Work repos managed by Microsoft

Your websites (aguidetocloud-revamp, learning-docs, -ainews) are all on the susanthgit personal account.


โœ… Module 4 Summary

โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
โ”‚                   Module 4 Recap                     โ”‚
โ”œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ค
โ”‚                                                      โ”‚
โ”‚  Git โ‰  GitHub:                                      โ”‚
โ”‚    Git    = tool on your PC (the engine)            โ”‚
โ”‚    GitHub = cloud platform (the garage)             โ”‚
โ”‚                                                      โ”‚
โ”‚  GitHub adds: Repos, Issues, PRs, Actions,          โ”‚
โ”‚    Pages, Codespaces, Copilot                       โ”‚
โ”‚                                                      โ”‚
โ”‚  Remote = a copy of your repo on GitHub             โ”‚
โ”‚    origin = the default remote name                 โ”‚
โ”‚    push = send, pull = receive, clone = copy        โ”‚
โ”‚                                                      โ”‚
โ”‚  GitHub is owned by Microsoft (since 2018)          โ”‚
โ”‚                                                      โ”‚
โ”‚  โžก๏ธ Next: Module 5 โ€” Connect local โ†” GitHub        โ”‚
โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜

๐Ÿงช Module 4 Quiz

Q1: Can you use Git without GitHub?

Yes! Git runs entirely on your computer. GitHub is optional โ€” it adds backup, sharing, and collaboration features on top of Git. You could use Git your entire life without ever touching GitHub.

Q2: What is the default name for a remote repository?

origin โ€” when you connect a local repo to GitHub, the remote is typically named origin by convention. You can have multiple remotes with different names, but most people just have one.

Q3: You push code to GitHub and your website updates automatically. What GitHub feature makes this happen?

GitHub Actions โ€” automated workflows that trigger on events (like a push). Your aguidetocloud-revamp repo has an Action that builds your Hugo site and deploys it to Azure Static Web Apps.

Q4: What's the keyboard shortcut to open any GitHub repo in VS Code in your browser?

Press . (period) on any repo page on github.com. This opens github.dev โ€” VS Code in your browser, no installation needed!

Q5: Microsoft owns both GitHub and Azure DevOps. What's the difference?

GitHub = developer-first platform (community, open source, Copilot). Azure DevOps = enterprise platform (project management with Boards, governance, Pipelines). Many organisations use both.


โžก๏ธ What's Next?

In Module 5: Local โ†” Remote, you'll connect your practice repo to GitHub and push your commits online! You'll also learn about git clone, git pull, and how authentication works.