This repo will have utility to push code to current branch in regular intervals.
you need to install golang. https://golang.org/doc/install get my respository https://github.com/chaudharisuresh997/GitAutoSync/
use go install workspace copy executable from /bin/workspace
put this repo in current working project root dir. execute this bin using new teminal and keep working.