while pushing git is taking different username in ubuntu 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