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

Updated