After installing Git, you should configure your user name and email address. This information is embedded in every commit you make, identifying you as the author.
1. Set your user name
git config --global user.name "Your Name"
Replace `"Your Name"` with your actual name. This should be the name you want to appear in your commits.
Replace `"your.email@example.com"` with the email address you want associated with your Git commits. This email is often linked to your GitHub/GitLab/Bitbucket account.
3. Configure Text Editor You can set up a default text editor for commit messages.
For VS Code:
git config --global core.editor "code --wait"
For Sublime Text:
git config --global core.editor "subl -n -w"
For Vim:
git config --global core.editor "vim"
4. Configure Aliases Create shortcuts for frequently used Git commands to increase efficiency.