title: Supplying a password to Git in a Bash script
body: <p>From a Bash script I would like to supply a password. I have tried the following:</p>
  
  <pre><code>echo 'mypass' | git pull
  
  git pull &lt; 'mypass'
  
  git pull &lt; echo 'mypass'
  </code></pre>
  
  <p>None seem to work.</p>