title: Build failing with error : cannot lock ref 'refs/remotes/origin/users/bill.roper/develop': is at b10165 but expected 5f
body: <p>Jenkins build is failing with error below error. Kindly help to fix it. </p>
  
  <blockquote>
    <p>git config --get remote.origin.url # timeout=10
    using GIT_ASKPASS to set credentials 
    Setting http proxy: www-proxy.us.oracle.com:80
    git fetch --tags --force --progress origin +refs/heads/<em>:refs/remotes/origin/</em> # timeout=10
    hudson.plugins.git.GitException: Command "git fetch --tags --force --progress origin +refs/heads/<em>:refs/remotes/origin/</em>" returned status code 1:
    stdout: 
    stderr: From <a href="https://alm.oraclecorp.com/epm/s/epm_pbcs_15318/scm/strategicmodeling" rel="nofollow noreferrer">https://alm.oraclecorp.com/epm/s/epm_pbcs_15318/scm/strategicmodeling</a>
     * [new branch]          users/aaron.weber/mydevelop -> origin/users/aaron.weber/mydevelop
     * [new branch]          users/abhilash.mund/mydevelop -> origin/users/abhilash.mund/mydevelop
    error: cannot lock ref 'refs/remotes/origin/users/bill.roper/develop': is at cf9f03f3568e8e7b60918a8fc6e39a3d8d265c42 but expected 5baac24b91a27586748ad1afb6e8142ed7bf568f
     ! 5baac24b9..02c773ae0  users/bill.roper/develop -> origin/users/bill.roper/develop  (unable to update local ref)
     * [new branch]          users/dave.farr/develop -> origin/users/dave.farr/develop</p>
  </blockquote>
  
  <p>We started deleting the branches and recreating them again with different name and only with small chars. this is working but we are facing issues when owners of branch are not available to do this. Will different user renaming the branch remotely causes any issues like loosing the uncommitted changes of branch owner. Or f there is any other solution please let me know </p>
  
  <p>We want the jenkins build to be successful</p>