Let’s quickly save git name, email and token on Linuxmint or Ubuntu or any other unix terminal based system to use it again and again and again.

To create token

Git Account > Settings > Developer Settings > name token > check token privileges > generate token and copy and save.

Launch your terminal and get started.. Make you sure you have your git account credential and also have created your git token.

git config --global credential.helper store
git config --global user.email "[email protected]"
git config --global user.name "git_user_name"
git config --global user.password "git_token"
cat .gitconfig
[color]
	ui = true
[user]
	name = git_user_name
	email = [email protected]
	password = git_token_long_string
[credential]
	helper = store