def METHOD_NAME(self, git_hash, sp_mock):
    sp_mock.return_value = CompletedProcess(["git", "rev-list", "--max-parents=0", "HEAD"], 0, stdout=git_hash)
    initial_commit = get_initial_commit_hash()
    expected_hash = hashlib.sha256()
    expected_hash.update(git_hash.encode("utf-8"))
    self.assertEqual(initial_commit, expected_hash.hexdigest())