Update the URL of origin remote using SSH instead of HTTPS;
git remote set-url origin git@github.com:username/repo.git
OR
Make Git store the username and password and it will never ask for them.
git config --global credential.helper store
Save the username and password for a session (cache it);
git config --global credential.helper cache
You can also set a timeout for the above setting
git config --global credential.helper 'cache --timeout=600'
Git will never ask for your credentials again.