vs code make sure you configure your 'user.name' and 'user.email' in git code example
Example: configure git username and email
git config --global user.name "Your Name"git config --global user.email "[email protected]"
git config --global user.name "Your Name"git config --global user.email "[email protected]"