First pass at implementing an approach to detect changed folders

Uses git to detect changed files/folders between two commits.
fixed issues for first-run
moved when we popd