Use git to list required files.