title: How to solve git: fatal : unable to access <some_repo>...?
body: <p>When I try on gitlab :</p>
  
  <pre><code>  git push --set-upstream origin master
  </code></pre>
  
  <p>This is not a repo that I own, I just have access to gitlab. I suspect the repo owner has to give me access.</p>
  
  <p>I get this error:</p>
  
  <pre><code>fatal: unable to access '&lt;somegitrepo_ongitlab.git&gt;': The requested URL returned error: 403
  </code></pre>
  
  <p>I tried changing the user and email like this:</p>
  
  <pre><code>git config user.name my_gitlabuser
  git config user.email my_email
  </code></pre>
  
  <p>Still getting the same error.... How to solve this?</p>
  
  <p>git remote -v results in:</p>
  
  <pre><code> origin somegitrepo_ongitlab.git (fetch) 
   origin somegitrepo_ongitlab.git (push)
  </code></pre>
  
  <p>git remote show origin:</p>
  
  <pre><code>* remote origin
    Fetch URL: somegitrepo_ongitlab.git
    Push  URL: somegitrepo_ongitlab.git
    HEAD branch: master
    Remote branch:
      master new (next fetch will store in remotes/origin)
    Local ref configured for 'git push':
      master pushes to master (local out of date)
  </code></pre>