Commit the model
Read the model's file in Pending changes, see what Studio wrote, and commit it to the workspace repository.
Goal
The Invoice portal model is committed to the workspace repository, with no STRIDE question left open, and listed under Threat Models beside the example.
Before you start
Open Pending changes. Each save staged the model's file, and nothing has been committed yet. Click the branch chip at the top right, main, which carries a count of the changes waiting. Under BRANCHES it lists main, then Pending changes with its count, New branch… and Change requests. Choose Pending changes.

Read what is waiting. The dialog lists CHANGED FILES. Under STAGED is the model's file,
invoice-portal-and a short code,.yaml, inTalon/threat-models, marked A for added. Anything else waiting in the workspace is listed too, staged or not. In the pictures a detection from other work waits under UNSTAGED, and the commit leaves it there.
Read the model's file. Click the file. Its text opens on the right, every line new. After the model's name and description come its zones, then its components: each with its
name, itskind(external,processorstore), itszone, its type astech, thelogsit should send, theproductsit runs, and itspositionon the canvas. Scroll on, and theflowsfollow, each withfrom,toandlabel, then thethreats, each with itselement,stride,statement,attacktechniques andresponse, and acontrolwhere it has one. Last comesnot_applicable, the customer's repudiation with its reason.The file is the model. Anyone who can read the repository can read it, review a change to it in a pull request, or restore an earlier version, as with a detection.

Commit. Type
Add the invoice portal threat modelin the Commit message… box, and press Commit (1): one file, the staged one. A notice reads Committed 1 change, and the chip's count drops. The sparkle beside the box writes a message for you, where the workspace has an AI provider.
You should now see
Invoice portal in the list and in the repository: five components, two zones, four flows, 34 threats, and no STRIDE question left open. That is the model this course set out to build.
A model changes as its system does. One left unchanged for 90 days shows Review due on its card in the list. To delete a model, press the bin at the top of it. Studio asks first: Delete this threat model? The model file is removed from the workspace repository at your next commit. Until then you can restore it by discarding the change in source control.
Quick check
Go deeper
- Threat models, for how a model is kept in Git, and what saving and deleting do.
- Git & YAML, for how a workspace's repository is laid out.
