Install Git
Git is a version control tool that Claude Code uses under the hood to manage files. Mac users usually already have it. Windows users must install it.
If you run into issues, here's how to check and install Git:
- 1Open Terminal (press
Cmd + Space, type "Terminal", press Enter). - 2Type
git --versionand press Enter. If you see a version number, you're good. - 3If a popup appears asking to install developer tools, click Install. Takes about 2 minutes. Then proceed to Step 2.
- 1Go to git-scm.com/download/win and download the installer.
- 2Run the installer. When you reach the screen that says "Adjusting your PATH environment", choose "Git from the command line and also from 3rd-party software". This is critical.
- 3Keep all other options as default and click Next through to the end. Click Install.
- 4Restart your computer now. This makes sure Windows picks up the new Git installation. It takes 1 minute and prevents most problems.