git push with credentials code example
Example 1: add credentials to git
git config user.name "your username"
git config user.password "your password"
Example 2: git push username password
git add .
git commit -m "Bug Fixed"
git push https://<username>:<password>@github.com/<username>/<repository>.git --all
Example 3: git push ubuntu need to supply email and password everytime
machine github.com
login <user>
password <password>