code: def get_working_dir(script__file__):
      
      start = Path(script__file__).resolve()
      _root = Path(start.root)
      working_dir = start
      while not list(working_dir.glob('.git')):
          if working_dir == _root:
              return
  
          working_dir = working_dir.parent
  
      return working_dir
docs: hardcoded sets the 'equivalent' working directory if not in git