title: How to capture full output of `git clone`?
body: <p>When I run git clone like usual, I see this:</p>
  <pre><code>$ git clone https://github.com/bensmithett/webpack-css-example
  Cloning into 'webpack-css-example'...
  remote: Counting objects: 179, done.
  remote: Total 179 (delta 0), reused 0 (delta 0), pack-reused 179
  Receiving objects: 100% (179/179), 24.07 KiB | 0 bytes/s, done.
  Resolving deltas: 100% (79/79), done.
  Checking connectivity... done
  </code></pre>
  <p>However, when I try to redirect that to a file (or store it in a shell variable) I only see this:</p>
  <pre><code>Cloning into 'webpack-css-example'...
  </code></pre>
  <p>Here is what I tried:</p>
  <pre><code>$ git clone https://github.com/bensmithett/webpack-css-example 2&gt;&amp;1 | tee out.log
  $ cat out.log
  Cloning into 'sample-data'...
  </code></pre>
  <p>I tried it in Node.js as well, and it does the same thing:</p>
  <pre><code>const fs = require('fs');
  const child = spawn('git clone https://github.com/bensmithett/webpack-css-example');
  child.stdout.on('data', function(data){
    console.log(String(data));
  });
  child.stderr.on('data', function(data){
    console.log(String(data));
  });
  // Cloning into 'webpack-css-example'...
  </code></pre>
  <p>Why is all the <code>remote:</code> etc. stuff not getting piped to either stdin/stderr? Is there any way to capture the output? If not, what is happening that makes it so the output is displayed in the terminal, yet it is not being passed through either stdout or stderr?</p>