fix: improve clone URL detection logic
The script now intelligently finds the best available clone URL.
- It prioritizes the HTTPS URL.
- If HTTPS is not available, it falls back to the SSH URL.
- The GH CLI format is ignored as it's not a direct URL.
This makes the script more robust and reliable, ensuring it works even if the user has selected a non-default clone method.