Move git helpers to submodule