Rewrite git tree to add prefix to file paths