git: Simplify command interface
This MR simplifies the command interface:
- It unifies
git.SubCmd
andgit.SubSubCmd
to deduplicate the logic. - It gets rid of the new-unneeded
git.Cmd
interface. - It renames the misnamed
git.SubCmd
togit.Command
.
This MR simplifies the command interface:
git.SubCmd
and git.SubSubCmd
to deduplicate the logic.git.Cmd
interface.git.SubCmd
to git.Command
.