Caso tenha o fluxo de fazer alguma alteração simples via terminal e já queira commitar tal edição, o fluxo costuma ser
In case you have the habit of making simple alterations and commit
git add .
git commit -m "msg"
git push
Aí pede teu user.name e teu user.password, TODA VEZ.
Pra contornar isso add/editar o arquivo ~/.netrc com a seguinte linha:
That prompt a input for user.name and git password
To counter that everytime, you edit the ~/.netrc, adding the line:
machine github.com login {user.name} password {password}