Repository
A repository, usually shortened to “repo,” contains your documentation files and the history your team has committed. Mintlify builds your site from a configured branch in that repository. Teams often usemain, but the deployment branch can have another name.
Branch and working copy
A branch is a line of work with its own version of the repository. A feature branch lets you prepare a change without updating the deployment branch. Your working copy is the repository on your computer. Edits in your working copy aren’t part of Git’s history yet. You can inspect them, preview them, and decide what belongs in the next commit. This distinction helps when Git reports a “modified” or “untracked” file: the file exists in your working copy, but you haven’t committed its current state.Commit
A commit saves a selected set of changes to the branch’s history. Its message should say what the change accomplishes, such asAdd authentication quickstart or Fix broken API reference link.
Before committing, review the affected files with git status and the exact edits with git diff. Then stage only the files that belong together: