perl: command_bidi_pipe() method should set-up git environmens