Notification and web app

Hello,

I have a web appication and I would like my web application receives some commit notification from a repository to run some tasks.

Do you know tutorials explaining how it works or library implementing this feature ?

Thanks,
Jean-Christophe