Both git and non-git separate filenames by \n, easier/faster to split