So that git does not ask you on your computer for the username and passwords every time it is required, you can cache it for a while with:

git config --global credential.helper 'cache --timeout=86400'

or

git config --global credential.helper cache

In this command we are telling it to keep the passwords of the users in memory for 86400 seconds, which is 24 hours. If no timeout is specified, the default cache time is 15 minutes.

Once echoed on the first use of the user and password for a git server domain they will be persisted in memory for the specified time without prompting the system again.

To clear the credentials cache, you must execute:

git credential-cache exit