code: def get_list_of_modified_files(remote, source_branch, target_branch):
      print(
          "> git merge-base %s/%s %s/%s"
          % (remote, source_branch, remote, target_branch)
      )
      out1 = (
          subprocess.check_output(
              [
                  "git",
                  "merge-base",
                  "%s/%s" % (remote, source_branch),
                  "%s/%s" % (remote, target_branch),
              ]
          )
          .decode()
          .rstrip()
      )
      print(
          "> git diff --name-only %s/%s %s"
          % (remote, source_branch, out1)
      )
      out2 = (
          subprocess.check_output(
              [
                  "git",
                  "diff",
                  "--name-only",
                  "%s/%s" % (remote, source_branch),
                  out1,
              ]
          )
          .decode()
          .rstrip()
      )
      return out2.split("\n")
  
imports: import os
  import subprocess
label_desc: Use image node_id 4 for calling a global function with example usage: get_list_of_modified_files(remote, source_branch, target_branch) and returns: out2