title: git fetch origin using https and token fails
body: <p>I can fetch the origin by navigating to the folder and:</p>
  
  <pre><code>git fetch origin
  </code></pre>
  
  <p>And then execute:</p>
  
  <pre><code>git diff origin/master --name-only
  </code></pre>
  
  <p>Which shows me the files on the server that are not the same as the local files which is what I am looking for.</p>
  
  <p>But I cannot find the correct syntax to do this via https using a token, I have looked at the help page (<a href="https://help.github.com/articles/fetching-a-remote/" rel="nofollow noreferrer">https://help.github.com/articles/fetching-a-remote/</a>) and there seems to be nothing there that describes how to do this.</p>
  
  <p>This does not error, but it does not appear fetch the same way as the command above does and executing 'git diff' does not correctly show the files. </p>
  
  <pre><code>git fetch https://5e99326e6f628dxxxxx@github.com/myname/repo.git :origin
  </code></pre>
  
  <p>So how can I use a token to fetch the origin ?</p>
  
  <h1>EDIT</h1>
  
  <p>To avoid confusion, the request is succesfull and there is no problem with authentication that works, however the url that I use does NOT enable me to issue the git diff command afterwards and see a list of files that are different on the server.</p>
  
  <p>If I use the first command "git fetch origin" then I am able to see the dirfferences, use the second https command and I cannot see the differences,</p>
  
  <h1>So to re-summarise:</h1>
  
  <pre><code>git fetch origin
  git diff origin/master --name-only
  &gt; changed files ARE shown
  
  
  git fetch https://5e99326e6f628dxxxxx@github.com/myname/repo.git :origin
  git diff origin/master --name-only
  &gt; changed files are NOT shown
  </code></pre>