I found out what was going wrong. The problem was that I wasn't paying attention to the warnings when I was pushing to my gitosis server so I didn't realize that I wasn't pushing a particular branch. I had assumed it would just push the current but that isn't the case until you set:
git config push.default current
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…