git[NoLFS]Buffered()
Replicate `lfs/gitscanner_cmd` in `subprocess/buffered_cmd` using subprocess/cmd. In subsequent commits we will migrate all functions users of `lfs/gitscanner_cmd` to `subprocess/buffered_cmd` and afterwards remove `lfs/gitscanner_cmd`.