Convert `SafeBareCmd` to take streams via `CmdStream`
In commit 0520c5b0 (git: Introduce new CmdStream
structure,
2020-04-29), a new git.CmdStream
structure was introduced that
encapsulates a command's standard streams to help readability. Back
then, the git.SafeBareCmd
function was not yet converted as it
would've introduced quite some code churn unrelated to the original
issue.
Convert the function in order to provide a consistent external interface.
Follow-up of !2118 (merged)
Edited by GitLab Release Tools Bot