For me, I just opened git Window by clicking Settings->Version Control->Git, and just hit Test button, it works (Rider 2024.3.3)
enter image description here