how to set username and password git code example
Example 1: how to change username and password in git
# change the whole things in one go
git config --global credential.helper cache # to enable credentail helper
git config --global --edit
Example 2: git save username and password
git config --global credential.helper store