Git
The distributed version control system used by virtually every development team.
Documentation
| Guide | Description |
|---|---|
| Git Fundamentals | Repositories, commits, branches, merging, remotes, collaboration workflows |
| Advanced Git | Rebase, cherry-pick, hooks, bisect, internals, Git Flow, trunk-based dev |
| Command Cheat Sheet | 150+ commands organized by category — setup, branching, stash, remote, GitHub CLI |
| Interview Questions | 40+ questions from beginner to advanced with detailed answers |
Learning Path
- Start with fundamentals — repos, commits, branches, merging, collaboration
- Move to advanced topics — rebase, hooks, internals, workflows at scale
- Keep the cheat sheet handy — 150+ commands at your fingertips
- Practice interview questions — 40+ Q&A with detailed explanations
Quick Start
# Initialize a new repository
git init my-project && cd my-project
# Basic workflow
git add .
git commit -m "Initial commit"
# Branching
git checkout -b feature/new-feature
# ... make changes ...
git add . && git commit -m "Add new feature"
git checkout main && git merge feature/new-feature
# Remote operations
git remote add origin https://github.com/user/repo.git
git push -u origin main
External Resources
| Resource | Description |
|---|---|
| Pro Git Book | The definitive Git book (free) |
| Learn Git Branching | Visual interactive Git tutorial |
| Git Immersion | Hands-on introduction to Git |
| Oh My Git! | Open source game about learning Git |
| GitHub Skills | Official GitHub learning platform |
| Atlassian Git Tutorial | Advanced Git concepts |
| Oh Shit, Git!?! | Practical solutions to common Git problems |
Video Tutorials
| Resource | Description |
|---|---|
| Git and GitHub in 5 Hours | Comprehensive video course |
| Brian Yu's Git Introduction | Beginner-friendly introduction |