This scripts looks for all directories in the users’ home directory
that are managed by the git revision control system (i.e. that have a
For each of those directories it checks whether there are uncommitted
changes by running
git status. If there aren’t any, it runs
gc using the
--auto option, to cleanup and optimize the repository.