title: Can't push to GitHub on this box
body: <p>I cloned my GitHub repository here at home, and obviously screwed something up. Anyway, I made a lot of changes, or I'd wipe out the directory and do it all again.</p>
  
  <p>First of all, when I do <code>ssh git@github.com</code> I get the following:</p>
  
  <p><code>PTY allocation request failed on channel 0
  ERROR: Hi asdfadfs! You've successfully authenticated, but GitHub does not provide shell access                                                                                      Connection to github.com closed.</code></p>
  
  <p>I get an error, but it says I've successfully authenticated?</p>
  
  <pre><code>git add .
  git commit -a -m "hello"
  git push origin master
  [master 74a5e82] hello
  3 files changed, 45 insertions(+), 12 deletions(-)
  fatal: The remote end hung up unexpectedly
  </code></pre>
  
  <p>This obviously doesn't work. And I'm new to git, so now when I try to commit this happens:</p>
  
  <pre><code>git add .
  git commit -a -m "hello"
  git push origin master
  # On branch master
  nothing to commit (working directory clean)
  fatal: The remote end hung up unexpectedly
  </code></pre>
  
  <p>And finally, <code>git pull</code> ?</p>
  
  <pre><code>$ git pull
  You asked me to pull without telling me which branch you
  want to merge with, and 'branch.master.merge' in
  your configuration file does not tell me either.    Please
  specify which branch you want to merge on the command line and
  try again (e.g. 'git pull &lt;repository&gt; &lt;refspec&gt;').
  See git-pull(1) for details.
  
  If you often merge with the same branch, you may want to
  configure the following variables in your configuration
  file:
  
  branch.master.remote = &lt;nickname&gt;
  branch.master.merge = &lt;remote-ref&gt;
  remote.&lt;nickname&gt;.url = &lt;url&gt;
  remote.&lt;nickname&gt;.fetch = &lt;refspec&gt;
  
  See git-config(1) for details.
  </code></pre>
  
  <p>Here's my .git/config</p>
  
  <pre><code>[core]
          repositoryformatversion = 0
          filemode = true
          bare = false
          logallrefupdates = true
          ignorecase = true
  [branch "master"]
  [remote "origin"]
          url = git://github.com/my/project.git
          fetch = +refs/heads/*:refs/remotes/origin/*
  </code></pre>
  
  <p>That url variable actually points to my correct git url. Thanks.</p>