This repository is for test purpose
For setting user.name and user.email:
To see details about username nd useremail
Switching remote URLs from HTTPS to SSH:
git remote set-url origin [email protected]/USERNAME/REPOSITORY.git
Why we switch url from HTTPS to SSH
- Authentication.
HTTPS requires you to enter your GitHub credentials every time you interact with the remote repository, while SSH uses a private-public key pair for authentication. By using SSH, you don't need to enter your GitHub credentials each time, which can be more convenient and secure.
- Speed.
SSH can be faster than HTTPS when interacting with remote repositories, especially for large repositories or when making frequent commits. This is because SSH uses compression and is able to transfer data more efficiently.
- Access.