process git status to get filenames for command sample.
command sample needed files on one line.