1 Open the control panel
2 Enter Credential Management
3 Select Windows Credentials
4 Modify the username and email of git
Execute the following command in Git Bash:
git config --global user.name "username"
git config --global user.email "email"
5 Configure IDEA's github
6 Test configuration
7 Upload the local project to github