The repository is a categorized collection of binary packages. Packages with newer version are uploaded to the repository and replaces older version of the same package. Releases are snapshots from the repository at a specific time.