The git features are a bit out of place in the core of the code. It is a very separate feature that belong in a plugin, imo.