nearly the same problem with following error:
"Cloning into ‘XXXX’…
ssh: connect to host anvil.works port 2222: Connection timed out
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists."
Same problem on MacOS Ventura ans Windows 11, but with Ubuntu 18.04 it works fine without an problem