By going through the below git documentation, I learned how to maintain, cleanup, compress and save space for a git repository. But the problem I am facing is, having a large number of git repositories, say around ( 500 ) of them, Its not easy to visit each repository and do these clean up things, is there an automated way to visit each repository and clean up or compress each repository ?
a shell script or something like that ?
https://git-scm.com/book/en/v2/Git-Internals-Maintenance-and-Data-Recovery