<p>I have a local Git repository I've been developing under for a few days: it has eighteen commits so far. Tonight, I created a private Github repository I was hoping to push it to; however, when I did so, it only ended up pushing eight of the eighteen commits to Github. I deleted the Github repo and retried, with the same result.</p>

<p>Any thoughts on why this might be happening? I've done this procedure before without a few times successfully, so I'm a bit stumped.</p>

<p><strong>Update</strong>: There is, and has always been, only the master branch in this repo. Just to address a few of the posted answers...</p>

I suppose the first thing I would do would be to run
```
git fsck
```
on your local repository to make sure that it is all in good order.
I've never seen this problem before, and I can't think of what might be wrong.