def METHOD_NAME(self):
    """
        A convenience function to commit any changes to git
    """
    git_cmd = ["git", "diff", "--name-only"]
    complproc = subprocess.run(git_cmd, stdout=subprocess.PIPE, check=True)
    if not complproc.stdout or complproc.stdout.isspace():
        print(("Not commiting anything because nothing changed in cleanup "
              "task %s" % self._name))
        return
    print(("Commiting changes for cleanup task %s" % self._name))
    with tempfile.NamedTemporaryFile(mode='w', delete=False) as tmpfile:
        tmpfile.write(self._name)
        tmpfile.write("\n\n")
        tmpfile.write(self._description)
    git_cmd = ["git", "commit", "-a", "-F", tmpfile.name]
    subprocess.run(git_cmd, check=True)
    os.remove(tmpfile.name)