git remote username password config code example
Example 1: how to set up git ssh creds to push
$ git config credential.helper store
$ git push https://github.com/owner/repo.git
Username for 'https://github.com': <USERNAME>
Password for 'https://[email protected]': <PASSWORD>
Example 2: how to set up git ssh creds to push
git config --global credential.helper 'cache --timeout 7200'