To change GitHub Credentials from Git Bash in Windows follow these steps:-
Step_1:- Click on Start Button
Step_2:- Search Credential Manager
Step_3:- Click on Credential Manager
Step_4:- Click on Windows Credentials
Step_5:- Click on git:github.com in Generic Credentials Option
Step_6:- Click on the remove option to remove the existing username and password
Step_7:- Click on the yes option to permanently delete the existing username and password
Step_8:- Now you can set up a new credential of the GitHub from Git Bash