Add better logging.  Split out git support in prep for mercurial