※こちらは旧サイトです(新サイトはこちら)
git push時にハイフンを使うと
$ git push origin foo-bar
fatal: unable to access 'http://hoge.jp/git/hoge.git/': Failed to connect to hoge.jp port 80: Connection timed out
Connection timed outになるので調べた
$ git push origin "foo-bar"
ブランチ名にハイフンが含まれる場合、ダブルクォートで囲めばプッシュ出来た