初回しかコミットがない状態で,

git update-ref -d HEAD