Submodule libgd does not exist
In order to create a submodule, you really have to call git submodule add
In the present state, only the .gitmodules file has a new entry for libgd, but git doesnt know about it yet.
If you call:
git submodule init
git submodule update
The libgd entry will presently be ignore.