what is git gc prune?
Git Prune. The git prune command is an internal housekeeping utility that cleans up unreachable or "orphaned" Git objects. Unreachable objects are those that are inaccessible by any refs. ... Prune is considered a garbage collection command and is a child command of the git gc command.