input: 
  from typing import List
  
  class VersionControl:
      def __init__(self, lines: List[str]):
          self.lines = lines
          self.mark = 0
   
      def commit(self) -> None:
          self.mark += 1
          log_file = open("log_file.txt", "a+")
          log_file.write(str(self.mark) + ": " + str(self.lines))
          log_file.close()
   
      def restore(self) -> List[str]:
          log_file = open("log_file.txt", "r")
          lines = log_file.readlines()
          to_mark = self.mark-1
          
          if to_mark >= 0 and to_mark < len(lines):
              self.lines = lines[to_mark].strip().split(": ")[1][2:-2].split(", ")
          log_file.close()
          return self.lines
  
  # Example usage:
  # vcs = VersionControl(["print('Hello, world!')", "a = 5"])
  # vcs.commit()
  # vcs.lines = ["b = 10"]
  # vcs.commit()
  # vcs.restore()
  # Output of vcs.lines should be ['b = 10']
  
output:     
          for i in range(len(self.lines)):
              self.lines[i] = self.lines[i].strip("'")
  