Terminal, Git & GitHub Mastery
Beginner · 13 missions · about 3 hours
Every AI coding agent works in a terminal and a Git repository. Learn to move around the command line, read and shape Git history, resolve conflicts, version releases and automate checks with GitHub Actions, so you can direct AI work with confidence and undo it safely.
Missions
- Terminal basics for builders: Move around, run commands and read what an AI agent wants to run.
- File paths: where am I, really?: Absolute vs relative paths, . and .., and a real path resolver.
- The Git mental model: snapshots & pointers: Build a tiny Git to see that branches are just movable pointers.
- Branching workflows: ahead, behind & merge base: Compute what git status and GitHub show you about a branch.
- Fix the AI: the half-resolved merge conflict: The agent said "merged!" but left conflict markers and dropped a feature.
- Rebase vs merge (and how to undo): Pick the right integration strategy and never lose work.
- Commit messages with AI: Prompt an AI to write commits your future self will thank you for.
- Fix the AI: a commit-message linter: The AI wrote a commit-msg checker that rejects good commits.
- Pull request descriptions that get approved: Turn a branch into a PR description reviewers can act on.
- Semantic versioning, for real: Compare and bump versions correctly, prereleases included.
- .gitignore and keeping secrets out: Patterns, negation, already-tracked files and leaked keys.
- GitHub Actions: CI on every push: Read and write a workflow that tests every pull request.
- Boss: automated release notes: Turn git log into the next version number and a changelog.
Part of: AI Web Developer career path, Backend & Cloud Engineer career path