Skip to content

arnlaugsson/git-protocols-game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 

Repository files navigation

Git Courier — SSH vs HTTPS

An interactive browser-based game that teaches you how Git protocols actually work. Play through concept cards and quizzes to build a solid mental model of SSH, HTTPS, and the GitHub CLI.

Play it live →

What you'll learn

  • Why Git needs protocols at all — local repos, remotes, and what origin means
  • How SSH key authentication works (and why your private key never leaves your machine)
  • Why HTTPS with a token is safe despite "sending credentials over the wire"
  • When to use SSH vs HTTPS (spoiler: CI/CD has a clear winner)
  • How gh auth login works under the hood
  • The difference between git transport layers and workflow tools like gh

Topics covered

Round Type Subject
1 Concept Local repos, remotes, and origin
2 Concept SSH key pairs & challenge-response auth
3 Quiz SSH basics
4 Concept HTTPS & TLS handshake
5 Quiz HTTPS & token security
6 Sort game SSH vs HTTPS properties
7–8 Concept + Quiz CI/CD & firewall considerations
9–10 Concept + Quiz How gh CLI uses OAuth
11 Quiz Putting it all together

Running locally

Just open index.html in a browser — no build step, no dependencies.

open index.html

Deploying

Hosted on GitHub Pages from the main branch root. Any push to main updates the live site.

About

Interactive browser game that teaches how Git protocols (SSH, HTTPS, gh CLI) actually work

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages