What is Git?
Git is a free tool on your computer that keeps a history of your product's files. It lets you save versions, compare them, and go back if something breaks.
An example
Git works like unlimited undo with labels. Each labeled save is a commit. GitHub is a separate website where you can store a copy of that history online.
Where you’ll meet it
- Save a working version · Build a website
- Undo a change on purpose · Build a website
- Save a working version · Build a web app
- Undo a change on purpose · Build a web app
- Save a working version · Build a phone app
- Undo a change on purpose · Build a phone app
- Upload your code with your AI tool · Save your code on GitHub
- Upload your code with your AI tool · Save your code on GitLab
- Stop or undo a change · How to use Claude Code
- Review what it changed · How to use Codex
- Stop or undo a change · How to use Cursor
- Save your secret key in .env · Take payments with Stripe
- Save your client-side token in .env · Take payments with Paddle
- Save your access token in .env · Take payments with Polar
- Save your API key in .env · Take payments with Dodo Payments
- Do I need Git and GitHub? · Saving your code
- What changes about working with an AI tool as my product grows? · Working with an AI agent
- How do I go back to a version that worked? · Debugging