title: Jenkins is not fetching latest commit
body: <p>I am using <code>git plugin</code> in <strong>jenkins</strong> which is using <strong>gerrit</strong> trigger strategy. When job is triggered from <strong>gerrit</strong> then commit ID is always latest.</p>
  
  <p>But when I manually or timer trigger, execute the same job then it is always taking same old commit. I checked the <code>.git</code> folder in workspace I got <code>HEAD</code> file marked as old commit, It is not checking out the latest commit.</p>