git: make pointer allocation uniform
git: make pointer allocation uniform

Some places it was taking the address of a composite literal, other
places using the function new. Now it's using new everywhere.

fsouza/gogit