Git is great for version controlling small, textual files, but not for binary or large files.
Tracking large files directly with Git adds bloat to your repository’s Git history, which needs to be downloaded every time your project is cloned.
Large files should instead be version controlled as Data, e.g. using Git LFS or DVC.
See the version-control/data/
rules of mllint
for more info about version controlling data.
To fix this rule, it is not enough to just remove these large files from your local filesystem, as the files will still exist inside your Git history. Instead, see this StackOverflow answer to learn how to also remove these files from your project’s Git history.