code: def git_installed():
      
      LOGGER.info("Checking `git` installation.")
      try:
          check_output(['git', '--version'])
      except CalledProcessError as e:
          LOGGER.critical(
              "The execution of memote was interrupted since no installation of "
              "`git` could be detected. Please install git to use "
              "this functionality: "
              "https://git-scm.com/book/en/v2/Getting-Started-Installing-Git")
          LOGGER.debug("Underlying error:", exc_info=e)
          sys.exit(1)
docs: Interrupt execution of memote if `git` has not been installed.