git: Remove calls to git.ExecReader
Created by: ryanslade
We don't want to allow raw commands passed to git so this change unexports the git.ExecReader function and changes it's only usage to one that is specific to the actual use case, ie git.DiffPath
Closes https://github.com/sourcegraph/sourcegraph/issues/28182