[WIP] commands: make fork() set remote.pushdefault

Hi,

Unfortunately, my patch doesn't work as expected, and I can't figure out why. Any clues?

Thanks.