How to fix the «No such remote 'composer'» issue?

To fix this issue just press ENTER.

Update failed (Failed to clone https://github.com/mage2pro/extension-name.git via https, ssh protocols, aborting.

Please make sure you have the correct access rights
and the repository exists.

  • git@github.com:mage2pro/extension-name.git
    fatal: No such remote ‘composer’
    fatal: ‘composer’ does not appear to be a git repository
    fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

Would you like to try reinstalling the package instead [yes]?