title: Jenkins GIT plug in - not pulling right code
body: <p>I’m having a problem getting Jenkins to pull the right code. The project is set up to pull develop branch. (Previously the project was set to trigger on commit to master, but now I've set it to develop.)</p>
  
  <p>The build says that it is pulling origin/develop, and the GIT commit number is correct, as screenshot below shows:</p>
  
  <p><img src="https://i.stack.imgur.com/07dgL.jpg" alt="enter image description here"></p>
  
  <p>However, when I look at the code in the Jenkins workspace on the server, it is NOT the correct code. I’m unsure what branch it is but assume it is master.</p>
  
  <p>I have no idea why this is happening – can anyone advise please? </p>