Make sure that you can run git lfs
. If you cannot you are missing a dependency.
If you start a new repo all you need to do is to use git lfs track "*.zip"
to mark future file types or directories.
But this does not work if you want to migrate an existing repo. If your goal is to save space and make cloning faster,
you need to rewrite the entire git history!
It is good to clone the entire repo in a separate folder, before pushing any of your changes.
Do not run git lfs track yet and if you have, remove any .gitattributes
files that it has created.