title: Piping output from Git Bash to clipboard
body: <p>I often need to relay my Git output to my ever-friendly code buddies. The best way I know how is by doing this:</p>
  
  <pre><code>Right-click Git Bash title bar &gt; Edit &gt; Mark &gt; Select lines &gt; Enter
  </code></pre>
  
  <p>Bam - everything I selected is in my clipboard, and I am filled with joy.</p>
  
  <p>Problem is, that's the boring way, and I like my relationship with Git to be full of <strong>excitement</strong> and <strong>glamour</strong>.</p>
  
  <p>In Windows, you can pipe console output to your clipboard like-a so:</p>
  
  <pre><code>C:\&gt; dir | clip
  </code></pre>
  
  <p>Amazing, right? Well, when you try to do something that in Git Bash, here's what happens:</p>
  
  <pre><code>&gt; git branch | clip
  sh.exe": clip: command not found
  </code></pre>
  
  <p>And that makes me sad. Is there a way to pipe Git Bash output to my clipboard in Windows so I can once again be filled with joy?</p>