Repository
A repository (usually shortened to “repo”) is where all your documentation files live. It contains every page, every image, every configuration file — and the complete history of every change ever made to any of them. When you use Mintlify, your documentation repository on GitHub is the source of truth for your live site. When changes are merged into the main branch of that repository, Mintlify detects them and rebuilds your site automatically.Branch
A branch is a separate copy of your repository where you can make changes without affecting the live site. When you want to add a new page, fix an error, or reorganize a section, you create a branch, make your changes there, and then merge it back when you’re done. The main branch — usually calledmain — is what’s live on your Mintlify site at any given moment.
Think of branches as a dedicated workspace. Your changes exist in isolation until you’re ready to share them.
Commit
A commit is a saved snapshot of your changes. When you’ve made edits you want to preserve, you commit them — which creates a record in the repository’s history with a description of what changed. A good commit message describes the change in plain terms:Add authentication quickstart or Fix broken link in API reference. This makes the history readable for your future self and your teammates.
You can make multiple commits on a branch before opening a pull request. A series of small, focused commits is easier to review than one large commit that changes everything at once.
Pull request
A pull request (often abbreviated PR) is a formal proposal to merge your branch into main. Opening a PR triggers a few things:- Your teammates are notified and can review the changes
- Mintlify generates a preview deployment — a live version of your docs with the changes applied
- Any automated checks (broken link detection, style linting) run against your changes