retry logic for git fetch and tighten up LockOperation