Divorce not Finailiazed & Claiming Child on Return

I am a father been separated from my wife since January 2023, filed for divorce in July 2023; the divorce is not finalized yet. What should I choose for my filling status? and who get to claim our child as a Dependent, given I have been paying voluntarily child support (no court order yet) for the past six months? My ex-wife has already filled her return as "Head of Household" and claimed our child as a dependent on her return. Thank you