Auto Deploy to Server after Push on Git

I have some Codeigniter projects on some domains (on the same server) and the projects already in the git.

How should i do when I push to git then on the server get new update from git repository?

Anyone can explain me step by step?