For doing some activity after commit is done. create this file
.git/hooks/post-commit
#!/bin/sh open http://google.com
chmod +x .git/hooks/post-commit
commit something to git origin and you will see google will be opened.
There was an error while loading. Please reload this page.