code: def format_repo_status(repo):
      
      commit = repo.commit()
      return {
          'name': os.path.basename(repo.working_dir),
          'commit': commit.hexsha,
          'timestamp': datetime.fromtimestamp(
              commit.committed_date).isoformat(),
      }
docs: Return a dictionary representing the repository status
  
      It returns ``None`` for things we do not support or are not
      relevant.
  
      :param str repo_name:
          The name of the repository.
      :returns: dict