def METHOD_NAME(self, pipeline_filepath: str, pipeline_name: str) -> None:
    """
    Push a DAG to a remote Github Repository
    :param pipeline_filepath: filepath to the location of the DAG in the local filesystem
    :param pipeline_name: the name of the file to be created in the remote Github Repository
    :return:
    """
    try:
        # Upload to github
        with open(pipeline_filepath) as input_file:
            content = input_file.read()
            self.github_repository.create_file(
                path=pipeline_name + ".py",
                message="Pushed DAG " + pipeline_name,
                content=content,
                branch=self.branch,
            )
        self.log.info("Pipeline successfully added to the git queue")
    except FileNotFoundError as fnfe:
        self.log.error(f"Unable to locate local DAG file to upload: {pipeline_filepath}: " + str(fnfe))
        raise RuntimeError(f"Unable to locate local DAG file to upload: {pipeline_filepath}: {str(fnfe)}") from fnfe
    except GithubException as e:
        self.log.error(f'Error uploading DAG to branch {self.branch}: {e.data["message"]} ({e.status})')
        raise RuntimeError(
            f'Error uploading DAG to branch {self.branch}: {e.data["message"]} ({e.status}). '
            "Please validate your runtime configuration details and retry."
        ) from e