add credentials in git terminal code example
Example 1: add credentials to git
git config user.name "your username"
git config user.password "your password"
Example 2: add credentials git linux
# This cache timeout is in seconds
$ git config --global credential.helper 'cache --timeout=3600'