I'll leave this here if you want to create a password cache.
Why does Git always ask for my password?
If Git prompts you for a username and password every time you try to interact with GitHub, you are probably using the HTTPS URL clone for your repository.
Using a remote URL HTTPS has some advantages: it is easier to configure than SSH, and usually works through strict firewalls and proxies. However, it also prompts you to enter your GitHub credentials each time you do pull or push into a repository.
You can configure Git to store your password for you.
If you would like to configure this, follow the steps below;
Caching your GitHub password in Git
If you are cloning GitHub repositories using HTTPS , you can use a credential helper to tell Git to remember your GitHub username and password each time you talk to GitHub.
If you clone GitHub repositories using SSH, then you authenticate using SSH keys instead of a username and password. To help set up an SSH connection, See Generating an SSH Key .
Tip: You need Git 1.7.10 or newer to use the help of
credential.
The credential assistant is included in GitHub Desktop. The application also offers a Git shell, so you will not need to install and configure Git manually. For more information, see "
23.06.2016 / 15:30