Add support for git push in the daemon mode -- Thanks @ralphbean
Check the repo as it is before starting the daemon mode