The main reason is that Git Annex is designed to handle large files differently than standard Git.
git add . (Regular Git)
- Adds all files directly to Git.
- Stores the actual file content in Git’s history.
- Good for small files like code, but large files can slow down the repo.
git annex add . (Git Annex)
- Moves large files to a separate storage area (.git/annex/objects/).
- Instead of storing the file itself in Git, it replaces it with a pointer or symlink.
- Helps keep the Git repo small while still tracking large files.