Algocraft / Git Commands / git add & commit
The three trees of Git: Working Directory → Staging Area → Repository — every change travels through all three
status before add or commit, as a habitgit add -p lets you stage part of a file, hunk by hunkgit commit -am skips add for already-tracked files only