set credentials git bash code example
Example 1: git bash set global username and password
$ git config --list --show-origin
Example 2: add credentials git linux
# This cache timeout is in seconds
$ git config --global credential.helper 'cache --timeout=3600'