RStudio won't open when Git is installed on Windows 10 64 bit

I have just installed Git for Windows 10, 64 bit ,version is 2.30.0 but have also tried with version 2.30.1
The problem is the following: Once I installed Git RStudio wont work.
See screenhot below:

Once I uninstall Git, RStudio opens just fine. I have tried with the above mentioned versions of Git and nothing changes.
Details of my RStudio: Version 1.4.1103

Please help!
Thank you

I detail log data:

11 Feb 2021 10:35:06 [rdesktop] ERROR Main window closed unexpectedly; LOGGED FROM: auto __cdecl rstudio::desktop::MainWindow::closeEvent::<lambda_987daf20472a951c954d805b7b7dc3ae>::operator ()(class QVariant) const src/cpp/desktop/DesktopMainWindow.cpp:499
11 Feb 2021 10:36:43 [rdesktop] ERROR Main window closed unexpectedly; LOGGED FROM: auto __cdecl rstudio::desktop::MainWindow::closeEvent::<lambda_987daf20472a951c954d805b7b7dc3ae>::operator ()(class QVariant) const src/cpp/desktop/DesktopMainWindow.cpp:499
11 Feb 2021 10:37:55 [rdesktop] ERROR Main window closed unexpectedly; LOGGED FROM: auto __cdecl rstudio::desktop::MainWindow::closeEvent::<lambda_987daf20472a951c954d805b7b7dc3ae>::operator ()(class QVariant) const src/cpp/desktop/DesktopMainWindow.cpp:499
11 Feb 2021 10:39:21 [rdesktop] ERROR Main window closed unexpectedly; LOGGED FROM: auto __cdecl rstudio::desktop::MainWindow::closeEvent::<lambda_987daf20472a951c954d805b7b7dc3ae>::operator ()(class QVariant) const src/cpp/desktop/DesktopMainWindow.cpp:499
11 Feb 2021 10:42:13 [rdesktop] ERROR Main window closed unexpectedly; LOGGED FROM: auto __cdecl rstudio::desktop::MainWindow::closeEvent::<lambda_987daf20472a951c954d805b7b7dc3ae>::operator ()(class QVariant) const src/cpp/desktop/DesktopMainWindow.cpp:499
11 Feb 2021 10:50:03 [rdesktop] ERROR Main window closed unexpectedly; LOGGED FROM: auto __cdecl rstudio::desktop::MainWindow::closeEvent::<lambda_987daf20472a951c954d805b7b7dc3ae>::operator ()(class QVariant) const src/cpp/desktop/DesktopMainWindow.cpp:499

So my solution was the following:

  1. Uninstall RStudio and Git
  2. Install latest available version of Git: 2.30.1
  3. Only after step 2 you should install RStudio: for me the version that actually works is an older one: Version 1.1.463

I do hope it helps!! My IT crazy friend helped me out with it!

Downgrading RStudio to such an old version is a big compromise, usually, RStudio works with Git installed in your system without any issues so you might be facing some weird misconfiguration. The first thing I would try would be to reset RStudio's state.

Hola Andrés: I tried renaming the folders:
%localappdata%\RStudio-Desktop
also tried renaming the other folder:
%localappdata%\RStudio

Didn't help.

Any more ideas?