Naively, both (monoteistic and pagan) would be "der Gott". In Russian language the God and a god are also often discrimitated by capitalisation. How does it go in German?
Answers to the related question Where don't we use an article with God employ both cases in examples, but do not specifically address the difference.