IDEX-1184: Allow to get output stream during git clone operation