git-gui: Create missing branch head on initial commit.