Tasks is the most finite of git building blocks. Example tasks: “Clean up CI/CD”, “merge PR”. I think in Linear task most closely maps to “sub-issue”.
Issues are a step above that can be used to describe bug reports, user stories.
Milestones are collections of issues.