title: Git - error: RPC failed; result=22, HTTP code = 401 fatal: The remote end hung up unexpectedly
body: <p>I am using ubuntu 11.10 machine. I have installed git of version 1.7.7.1. I am using git-cola to push and pull my code and I was able to commit and push my changes successfully.</p>
  
  <p>Now, I have changed my machine and my new system is with the same above configurations. (Ubuntu 11.10 machine and git version 1.7.7.1).</p>
  
  <p>In the new machine, I have issues on <strong>git push</strong>. I got the following error message when I tried to push my code:</p>
  
  <pre><code>error: RPC failed; result=22, HTTP code = 401
  fatal: The remote end hung up unexpectedly
  fatal: The remote end hung up unexpectedly
  </code></pre>
  
  <p>On internet, I found it may due to any one of the following reason:</p>
  
  <ul>
  <li>Wrong git user password (In my case, I fee that I am using the correct password to push the code. Because, even now I was successful, when I push workspace code from my old system (with the same password!). But the problem is only from my new system.</li>
  <li><p>To increase buffer size using the following command:</p>
  
  <p>git config --system http.postBuffer 52428800</p></li>
  </ul>
  
  <p>I tried this, but no luck. Even tried to increase my buffer size more than 52428800, but still same error.</p>
  
  <p>Stucked on this issue. Can anyone please suggest me a solution.</p>
  
  <p>Thank you.</p>