how to add my credentials on git code example

Example 1: git store credentials

// local
git config credential.helper store
// global
git config --global credential.helper store

Example 2: add credentials to git

git config user.name "your username"
git config user.password "your password"

Example 3: git save username and password

git config --global credential.helper store

Example 4: add credentials git linux

# This cache timeout is in seconds
$ git config --global credential.helper 'cache --timeout=3600'

Example 5: how to store git credentials

git config --global credential.helper store