Hi@akhtar,
Every Git repository has a .git/hooks folder with a script for each hook you can bind to. You're free to change or update these scripts as necessary, and Git will execute them when those events occur.
Here's a full list of hooks you can attach scripts to.
- pre-commit
 
- post-commit
 
- pre-rebase
 
- post-merge
 
- update
 
- post-receive
 
- post-update
 
- post-rewrite
 
- pre-push
 
Hope this will give you some idea.