HubCloneHubClone
Hub / Repositories

Join the HubClone community

and get access to the augmented documentation experience

  • Collaborate on models, datasets and Spaces
  • Faster examples with accelerated inference
  • Switch between documentation themes

to get started

Repositories

Models, Spaces and datasets on the Hub are all stored as Git repositories. Git is the standard tool for versioning code, and the Hub extends it so that very large files — model weights, parquet shards, media — are handled efficiently by the Xet storage backend.

This section covers the features that every repository type shares, regardless of what it contains.

Repository features

  • Version control: every change is a commit, with a browsable history and diffs.
  • Branches and tags: keep experiments apart from the main revision and pin releases.
  • Pull requests and discussions: propose changes and talk about them next to the files.
  • Webhooks: react to pushes, new discussions or settings changes from your own services.
  • Collections: group related repositories into a curated, shareable list.

Where to go next

TopicWhat you will learn
Getting StartedCreate a repository and push your first files
Repository SettingsVisibility, renaming, transferring and deleting
Storage LimitsHow much you can store and how to keep repositories lean
Pull Requests & DiscussionsCollaborating on a repository
LicensesChoosing and declaring a license
Tip:

Repositories can be public or private. Private repositories are visible only to you or to the members of the organization that owns them.