It honestly depends on what you want to do in the future. My sense is that a History PhD offers you more options than a Religious Studies degree. Most programs encourage interdisciplinarity which allows you to take courses outside of your main field. You also need to find a minor field for comprehensive exams which can be based in Religious Studies. The disciplines have different methodologies and languages, but both can be mastered.