title: Git credential fill rejects my input, scheduled on Windows
body: <p>I want to run a daily task on a Windows server: git-pull + heavy tests.</p>
  
  <p>As I want it to be triggered by a schedule and run from a script, I need the Git credentials to be fed in automatically.
  I want to use <a href="https://git-scm.com/docs/git-credential" rel="nofollow noreferrer">Git credential fill</a> with the syntax <a href="https://git-scm.com/docs/git-credential#IOFMT" rel="nofollow noreferrer">key=value</a></p>
  
  <p>As this is my first time using Git credentials, I may got something basic wrong.</p>
  
  <p>I tried working in both Git Bash (Git extensions --> <kbd>Ctrl</kbd> + <kbd>G</kbd>) and Cygwin.</p>
  
  <p>There I entered the following lines:</p>
  
  <pre><code>$ git credential fill
  protocol=ssh
  host=devserver
  username=&lt;my user name&gt;
  password=&lt;my password&gt;
  path=/srv/gitosis/repositories/Matlab.git
  &lt;empty line&gt;
  </code></pre>
  
  <p>Then Git replies with:</p>
  
  <pre><code>warning: invalid credential line:
  fatal: unable to read credential from stdin
  </code></pre>
  
  <p>I also tried to enter only a single line before the empty line and got the same result. I tried only username line, only protocol line, and only host line.</p>
  
  <p>First: What did I do wrong?</p>
  
  <p>Second: What is the correct path to feed?</p>
  
  <p>If I run</p>
  
  <pre><code>git remote -vv
  </code></pre>
  
  <p>and get:</p>
  
  <pre><code>origin  gitosis@10.10.10.102:/srv/gitosis/repositories/Matlab.git (fetch)
  origin  gitosis@10.10.10.102:/srv/gitosis/repositories/Matlab.git (push)
  </code></pre>
  
  <p>what is my path?</p>
  
  <p>Third: What is the host name?</p>
  
  <p>Given the output of Git remote, if I run <code>ping devserver</code>
  and get</p>
  
  <pre><code>64 bytes from 10.10.10.102: icmp_seq=0 ttl=64 time=74 ms
  </code></pre>
  
  <p>Does it mean that the host is <em>devserver</em>?</p>