# git restore

say it: **“GIT rih-STOR”** **/ɡɪt rɪˈstɔːr/**

Restores file contents in the working tree or removes changes from the staging area.

## What does **git restore** do?

**git restore** — Restores file contents in the working tree or removes changes from the staging area.

```bash
git restore shopping-list.txt
```

Level: Apprentice · [More Git terms at this level](https://www.ask-codey.com/glossary?category=git&level=2)

Updated: November 17, 2026

Source: https://www.ask-codey.com/glossary/git-restore
