In that case you need git credential helper to tell git to remember your GitHub password and username by using following command line :
git config --global credential.helper wincred
and if you are using repo using SSH key then you need SSH key to authenticate.