def get_last_commit_modifying_files(repo: Repo, *files) -> str:
return repo.git.log(*files, n=<NUM_LIT:1>, format="<STR_LIT>")<EOL>
Returns the hash of the last commit which modified some of the files (or files in those folders).

    :param repo: The repo to check in.
    :param files: List of files to check
    :return: Commit hash.