title: Git: Print 'git clone' output into a file & remove progress substate lines
body: <p>I want to print the git clone output into a file.</p>
  
  <p>The file should have the same content as the console output after terminating the process.</p>
  
  <p>e.g.</p>
  
  <pre><code>Cloning into 'repo'...
  remote: Counting objects: 8, done.
  remote: Compressing objects: 100% (6/6), done.
  remote: Total 8 (delta 1), reused 0 (delta 0)
  Receiving objects: 100% (8/8), done.
  Resolving deltas: 100% (1/1), done.
  Checking connectivity... done
  </code></pre>
  
  <p>This would be the desired output.</p>
  
  <p>Unfortunately, I get subsequent lines for the singe progess states:</p>
  
  <pre><code>Cloning into 'repo'...
  remote: Counting objects: 8, done.[K
  remote: Compressing objects:  16% (1/6)   [K
  remote: Compressing objects:  33% (2/6)   [K
  remote: Compressing objects:  50% (3/6)   [K
  remote: Compressing objects:  66% (4/6)   [K
  remote: Compressing objects:  83% (5/6)   [K
  remote: Compressing objects: 100% (6/6)   [K
  remote: Compressing objects: 100% (6/6), done.[K
  remote: Total 8 (delta 1), reused 0 (delta 0)[K
  Receiving objects:  12% (1/8)   
  Receiving objects:  25% (2/8)   
  Receiving objects:  37% (3/8)   
  Receiving objects:  50% (4/8)   
  Receiving objects:  62% (5/8)   
  Receiving objects:  75% (6/8)   
  Receiving objects:  87% (7/8)   
  Receiving objects: 100% (8/8)   
  Receiving objects: 100% (8/8), done.
  Resolving deltas:   0% (0/1)   
  Resolving deltas: 100% (1/1)   
  Resolving deltas: 100% (1/1), done.
  Checking connectivity... done
  </code></pre>
  
  <p>Is there a way to cope with that?</p>