Hi@akhtar,
To use git send-email service you have to set some global variable in your .gitconfig file. You can run these commands as given below from your git bash.
git config --global sendemail.smtpencryption tls
git config --global sendemail.smtpserver mail.messagingengine.com
git config --global sendemail.smtpuser "replace with user"
git config --global sendemail.smtpserverport 587
git config --global sendemail.smtppass "Replace with password"
git config --global sendemail.to "destination_user"
After setting this in your .gitconfig file, you can create one hook as post-commit and inside this hook write the below lines as given below.
#!/bin/bash
git send-email -1
Now whenever you commit something it will send one mail to your destination address.