add script for rewriting git history underneath a subdir