git keeps asking for password code example

Example 1: git asking for password every time

# it will ask just one more time
git config --global credential.helper store

Example 2: git not asking for password

git config --system --unset credential.helper
git config --global --unset credential.helper
git config --local --unset credential.helper

Example 3: git command line always asks for password

git config --global credential.helper wincred

Example 4: git push ubuntu need to supply email and password everytime

machine github.com
       login <user>
       password <password>