Tiny Git-style version control for learning how commits, branches, and stored objects work.
Data lives in .mygit.
Commands:
initcreate the repoaddstage filescommitsave a snapshotstatusshow changeslogshow historybranchlist or create branchescheckoutswitch branchescat-fileprint an object
node git.js init
echo "notes" > notes.txt
node git.js add notes.txt
node git.js commit -m "first commit"
node git.js log
node git.js branch work
node git.js checkout work