1
*/2 * * * * cd /var/git/repos/projectname && git pull >> /dev/null

Took from an article on how to set up cron job for git pull.