title: gitlab redirects push/fetch/clone to sign in
body: <p>I am trying to push a branch into a gitlab remote repository and an example of the behaviour would be:</p>
  
  <pre><code>git clone http://(path to branch)
  Cloning into 'origin'...
  fatal: unable to update url base from redirection:
      asked for: http://(path to branch)/info/refs?service=git-upload-pack
  redirect: http://(path to root)/users/sign_in
  </code></pre>
  
  <p>please note the changes on the urls and also I entered my credentials in .git/config, as presented below</p>
  
  <pre><code>[user]
      name = myname
      pwd = mypassword
      password = mypassword
  </code></pre>
  
  <p>It's probably relevant that when I signed up, the repository asked for a public key that I had to make exclusively for the project. </p>