Moved git functions into shell rc files.

I'm already duplicating a lot of code in the name of simple management.
Seems most sensible to carry on the trend instead of moving all the
duplicated effort into a shared file for both shells.