code: def relative_path(cls, git_diff_path):
          
          # Remove git_root from src_path for searching the correct filename
          # If cwd is `/home/user/work/diff-cover/diff_cover`
          # and src_path is `diff_cover/violations_reporter.py`
          # search for `violations_reporter.py`
          root_rel_path = os.path.relpath(cls._cwd, cls._root)
          rel_path = os.path.relpath(git_diff_path, root_rel_path)
  
          return rel_path
docs: Returns git_diff_path relative to cwd.