git add user and password code example
Example 1: git push username password
git add .
git commit -m "Bug Fixed"
git push https://<username>:<password>@github.com/<username>/<repository>.git --all
Example 2: git save username and password
git config --global credential.helper store
Example 3: add username password git
$ git config --global credential.helper cache