Add a generic git subcommand
Silence pushd and popd