GIT and GitHub: how to avoid entering credentials every time

Do you have some repos and have to enter the credentials everytime you connect to github? the solution is given here:

It is caused because you referred to the https instead of the git address. So you will have to do the following:

git remote set-url origin