Use git ls-remote polling mechanism. This will compare latest built commit SHA with remote branch without cloning a local copy of the repo