# git gc

say it: **“GIT JEE-SEE”** **/ɡɪt ˌdʒiˈsi/**

Runs repository housekeeping such as packing objects, cleaning auxiliary data, and pruning eligible objects.

## What does **git gc** do?

**git gc** — Runs repository housekeeping such as packing objects, cleaning auxiliary data, and pruning eligible objects.

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

Updated: November 17, 2026

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