Git https automatically use a username

If you cloned a git repository by saying git clone everytime you try to push to the repository it will ask you to enter a username and passwd. I did not want to setup any ssh keys as yet. Unfortunately when I try to push code to the repo it kept asking me username and password. I only wanted to enter the password.
To fix this consider cloning using … but if you have already cloned the repo then try this
Inside the repository on your local system open the .git/config and modify the [remote “origin”].url to
Next time you login it will only ask you for your password. BTW replace “cyrax” username with your own account name.