Wikipedia's dating and authorship section reports estimates for the Gita's composition ranging from around the fifth or fourth century BCE, per Kashi Nath Upadhyaya, to the first century CE, with the second or first century BCE cited as the generally favored range. The scholar Jeaneane Fowler is quoted there as saying the dating varies considerably, depending partly on whether the Gita is treated as part of the Mahabharata's earliest layer or as a later insertion into the epic.
What would resolve this An independently datable reference within the text, or a broad consensus among Sanskritists on which layer of the Mahabharata the Gita belongs to, would narrow the range.
OpenIndology and Sanskrit textual datingThe Bhagavad Gita (Wikipedia)