Install Git
- Colin Li
Git records what all your files looked like at a moment you choose, so you can return to that state later.
Git does not store your files elsewhere and does not send them anywhere. The files stay on your computer, in your folder.
You will almost never type a Git command. The agent runs Git for you. It only needs to be installed.
Windows: download Git for Windows from git-scm.com/downloads/win and run the installer. Accept every default. Restart the app afterwards.
On Windows, Git is required. Without it, Claude's Code tab cannot open a folder on your computer.
Mac: Git is included, but the first use may prompt you to install developer tools. Press Command and Space together, type terminal, press Enter. In the window that opens, type this and press Enter:
git --version
If a box appears offering to install developer tools, click Install and wait for it to finish. If you see a version number such as git version 2.39.5, Git is already installed.
The window you typed into is the Terminal. It runs commands on this computer.
How you know it worked: typing git --version prints a version number.