I need to write a script that incrementally keeps track of files and directories added and removed from a git repo.
I have tried to use:
git log -n1 --
git whatchanged