Why Git Asks for Username and Password While Pushing to Remote Repo
This could be because the remote url is pointing to HTTPS URL and not to SSH URL.
Here's an example of -
HTTPS URL : https://github.com/<Username>/<Project>.git
SSH URL : git@github.com:<Username>/<Project>.git
Now, to change from HTTPS URL to SS...
sksundram.site1 min read