Reduce repository size | GitLab
To remove unwanted large files from a Git repository and reduce its storage size, use the filter-repo command.