I followed the instructions here:
https://github.com/ohmyzsh/ohmyzsh
For a nice configuration, use powerlevel10k or any theme you like:
# Set name of the theme to load, my favorite list: eastwood, juanghurtado
ZSH_THEME=""
https://viblo.asia/p/cai-oh-my-zsh-powerlevel10k-toi-uu-va-su-dung-phim-tat-cho-terminal-ORNZqowM50n
https://thuanbui.me/len-doi-terminal-voi-zsh-va-oh-my-zsh/
git config --global user.name "Le Thi"
git config --global user.email "[email protected]"
Step 1: Go to the token creation page using this direct link: **https://github.com/settings/tokens/new**
Step 2: Use the PAT in the Terminal
Now, return to the terminal and run your Git command again (e.g., git push).
for "Username for '<https://github.com>'," enter your GitHub username.for "Password for '...', " paste the Personal Access Token (PAT) you just copied here instead of entering your old password.