input: from typing import List
  
  
  def VersionControl(lines: List[str]) -> str:
      """ Implement a basic version control system that keeps track of changes in the code.
      The system should allow committing the current state of the code and restoring to a previous commit.
      The commit method should log the current line list and increment the commit count.
      The restore method should read the log file and revert to the last committed version.
      
      >>> VersionControl(['print("Hello")', 'print("World")']).commit()
      True
      >>> VersionControl(['print("Hello")', 'print("Changed World")']).commit()
      True
      >>> VersionControl([]).restore()
      'print("Hello"), print("World")'
      """
output:     
      commit_count = 0
      log_file = "version_control_log.txt"
      
      def commit(self) -> bool:
          nonlocal commit_count
          with open(self.log_file, "a") as f:
              f.write(f"Commit {commit_count}: {', '.join(self.lines)}\n")
          commit_count += 1
          return True
      
      def restore(self) -> str:
          with open(self.log_file, "r") as f:
              lines = f.readlines()
          if lines:
              last_commit = lines[-1].split(": ")[1].strip()
              return last_commit
          return ""
  