Performing VCS Refresh... (Takes too long or never finishes)

In IntelliJ navigate to:

File > Invalidate Caches / Restart...

and select the highlighted:

Invalidate and Restart


What is the work around so I can commit again from IntelliJ

On IntelliJ, not sure: older similar bugs have been closed (as "obsolete"), like IDEA-63491

A more recent one (IDEA-93086) states:

It works again after a fresh checkout.

As a workaround, the solution would be to push from the command-line (so outside IntelliJ).