islegit

How do I install Git and what is it for?

Git saves snapshots of your project so you can undo any change, which matters even more when an AI is editing your code. On Windows, install it with `winget install Git.Git` or from git-scm.com. On Mac, run `git --version` in Terminal and it offers to install. GitHub Desktop gives Git a simple window if the command line feels like too much.

Sites last checked 16 Oct 2026. How we test

Our pick

Also good

More in Set up to code