Learn it. Build it. Ship it for others.
Claude Code crash course with branch-based lessons
This repository teaches Claude Code through small, topic-focused branches. Each branch covers one feature or workflow, and the commits are ordered so you can learn by stepping through the history.
Builders who want to learn Claude Code features by following branch-by-branch examples.
You can practice Claude Code workflows in a guided repo instead of piecing them together from scattered examples.
What it does
Branch-based lessons
Each `project/*` branch focuses on one Claude Code concept.
Ordered commit walkthroughs
Commits are arranged chronologically so you can study each step in sequence.
Topic coverage
The course includes custom commands, MCP integration, context engineering, subagents, hooks, and hook management.
Getting started steps
The README shows how to clone the repo, check out a branch, and inspect the commit history.
How to get it
- 1Clone the repository
git clone https://github.com/emarco177/claude-code-crash-course.git cd claude-code-crash-course
- 2Choose a topic and check out the branch
# Example for the custom commands topic git checkout project/custom-commands
README
Claude Code Crash Course π

Welcome to the Claude Code Crash Course! This repository is designed to teach you the fundamentals and advanced concepts of Claude Code, Anthropic's official CLI for AI-powered software development, in a hands-on way.
What is Claude Code? π‘
Claude Code is an interactive command-line interface that brings Claude's AI capabilities directly to your development workflow. It helps with code analysis, bug fixing, feature development, refactoring, and workflow automation - all from your terminal.
How it Works π€
This repository uses a unique branch-based structure for learning:
- Each
project/*branch covers a specific Claude Code feature or concept. - Within each branch, commits are ordered chronologically. Follow the commits one by one to learn the topic step-by-step.
Simply check out the branch for the topic you want to learn and walk through the commits!
Available Topics (Branches) π
Here are the topics currently available:
| Branch | Topic | Description |
|---|---|---|
project/custom-commands | π§ Custom Commands | Learn to extend Claude Code with custom functionality like dad joke generators and automated commits |
project/mcp | π MCP Integration | Master Model Context Protocol integration with Context7 MCP server |
project/context-engineering-mcp | β‘ Fine-Grained MCP Configuration | Optimize context tokens with task-specific MCP configurations using --mcp-config flag |
project/subagents | π€ Subagents | Build specialized AI agents within Claude Code like Code Comedy Carl |
project/hooks-notifications | π£ Hooks & Notifications | Automate your workflow with sound notifications and event triggers |
project/hookhub | π’ Hook Hub | Advanced hook management and organization systems |
More topics might be added, so keep an eye out!
Prerequisites π οΈ
Before you start, make sure you have the following installed:
- π€ Claude Code CLI
- π¦ Git
- π Python (version 3.8 or higher)
- π Your favorite text editor/IDE
Getting Started βΆοΈ
- Clone the repository:
git clone https://github.com/emarco177/claude-code-crash-course.git cd claude-code-crash-course - Choose a topic and check out the branch:
# Example for the custom commands topic git checkout project/custom-commands - Follow the commits: Use
git log --oneline --reverseto see the chronological list of commits for the branch. Then, usegit checkout <commit_hash>or your Git client to step through the history and learn.
Contributing π€
Contributions are welcome! If you'd like to add a new topic or improve an existing one:
- Fork the repository.
- Create a new branch for your feature following the naming convention:
project/your-claude-code-feature-name. - Make your changes, ensuring each commit represents a logical step in the learning process.
- Open a Pull Request against the
mainbranch.
License π
This project is licensed under the Apache License 2.0 - see the LICENSE file for details.
Happy learning! π
Files in the repo
- static
- README.md
Discussion (0)
Ask about usage, or say what you built with itSign in to join the discussion.
No comments yet. Be the first to say what this is good for.
More tutorials & guides
Bash is all you need - A nano claude codeβlike γagent harnessγ, built from 0 to 1
A visual, example-driven guide to Claude Code β from basic concepts to advanced agents, with copy-paste templates that bring immediate value.
Specification and documentation for Agent Skills

π» vibe coding 101ο½The first course for AI-native product builders.

End-to-end, code-first tutorials for building production-grade GenAI agents. From prototype to enterprise deployment.