git pull in cpanel in php code example Example: git pull using php exec("git pull https://user:[email protected]/user/repo.git master");