push to github using local credentials code example
Example: pushing code with another github account
git config --local credential.helper ""
git push origin master
git config --local credential.helper ""
git push origin master