Since porcelain commands are built with the plumbing commands, I am interested to know how the add and commit are built.
add
commit
For instance, the <