Create Git credential

Configure Git Username and Email

Before you can commit and push code to your repository, you need to set up your Git username and email address. This information will be attached to your commits.

Open your terminal and run the following commands, replacing the placeholder values with your actual name and email:

git config --global user.name "Your Name"
git config --global user.email "your.email@example.com"

To verify that the configuration is set correctly, you can check your Git settings:

git config --global --list

Reference: For more details on setting your username, see the GitHub Documentation.