split the git code out into a plugin