A tool to create JSON trees for learngitbranching.js.org from real git repository.
npm i -g git-jsontree
cd /your/git/project/working/directory
git jsontree # copy generated output to clipboard
then:
- browse to https://learngitbranching.js.org/?NODEMO&command=import%20tree
- paste clipboard content into text field.