title: target directory empty after git push to remote
body: <p>I'm attempting to create a remote git repo, (which I initialized with the <code>--bare</code> option) and push some source files to it.</p>
  
  <p>I have a local git repo and a bare remote: </p>
  
  <pre><code>ubuntu@ip-LOCAL-IP:~/notebooks$ cat .git/config  
  [core]
      repositoryformatversion = 0
      filemode = true
      bare = false
      logallrefupdates = true
  [branch "master"]
  [remote "nbcsm"]
      url = ssh://ubuntu@ec2-RE-DA-CT-ED.compute1.amazonaws.com/home/ubuntu/notebooks/.git
      fetch = +refs/heads/*:refs/remotes/nbcsm/*
  </code></pre>
  
  <p>I created the local repo with:
   1. <code>git init</code> 
   2. <code>git add *.ipynb</code>
   3. `git commit -m "first import of IPython Notebooks"</p>
  
  <p>I then verified that my local repo has tracked files in it by using vi to edit an *.ipynb file and then running <code>git status</code>.  git does see the changed file.</p>
  
  <p>However, when I execute <code>git push nbcsm master</code> the push appears to be successful but the target directory on my remote computer/instance is empty (i.e. it doesn't contain the files I'm trying to push to the remote):</p>
  
  <pre><code>ubuntu@ip-LOCAL-IP:~/notebooks$ git push nbcsm master
  Enter passphrase for key '/home/ubuntu/.ssh/id_rsa': 
  Counting objects: 11, done.
  Compressing objects: 100% (9/9), done.
  Writing objects: 100% (9/9), 2.49 KiB, done.
  Total 9 (delta 5), reused 0 (delta 0)
  To ssh://ubuntu@ec2-ec2-RE-DA-CT-ED.amazonaws.com/home/ubuntu/notebooks/.git
  7a50f44..295a4fa  master -&gt; master
  ubuntu@ip-LOCAL-IP:~/notebooks$
  </code></pre>
  
  <p>Verifying that the files aren't on remote:</p>
  
  <pre><code>ubuntu@ip-LOCAL-IP:~/notebooks$ ssh ubuntu@ec2-ec2-RE-DA-CT-ED.compute-1.amazonaws.com
  Enter passphrase for key '/home/ubuntu/.ssh/id_rsa': 
  Welcome to Ubuntu 12.04 LTS (GNU/Linux 3.2.0-25-virtual x86_64)
  
  * Documentation:  https://help.ubuntu.com/
  
  System information as of Tue Dec 18 16:46:23 UTC 2012
  
  System load:  0.02              Processes:           63
  Usage of /:   41.7% of 7.97GB   Users logged in:     0
  Memory usage: 12%               IP address for eth0:REMOTE-IP
  Swap usage:   0%
  
  Graph this data and manage this system at https://landscape.canonical.com/
  
  Get cloud support with Ubuntu Advantage Cloud Guest
  http://www.ubuntu.com/business/services/cloud
  *** /dev/xvda1 will be checked for errors at next reboot ***
  
  ubuntu@REMOTE-IP:~$ sudo find /home/ubuntu/ -name "*.ipynb"  
  /home/ubuntu/notebooks/Untitled0.ipynb
  ubuntu@ip-REMOTE-IP:~$ 
  </code></pre>
  
  <p>There are about 12 *.ipynb files in the local repo that are not being pushed.  I'm fairly certain that this is a conceptual issue rather than a syntax issue but I've read and re-read the Remote chapter in the O'Reilly Git book and I'm stumped.</p>