To clone a Git repository using SSH:
Set Up SSH: Make sure you have an SSH key generated and added to your Git hosting platform, such as GitHub or GitLab.
Obtain the SSH URL: Go to the repository you want to clone and copy its SSH URL, which typically looks like an email address (e.g., git@github.com:…).
Clone the Repository: Use a Git command in your terminal with the SSH URL to download the repository to your local system.
Verify: Check the folder on your system to ensure the repository has been successfully cloned.
This method eliminates the need for entering credentials repeatedly by using SSH authentication.