In your github account
Click on the image on the top corner of the page that contains your profile picture ->
Settings ->
In the side menu ->
Developer Settings ->
Personal access Tokens ->
Generate new token.
$ git push
Username: <your username>
Password: <the access token>
Now I do not have to type username and password every time I push changes.
I just type git push
and press Enter, And changes will be pushed.