title: Inside jenkinsfile how to get GIT difference between master branch and feature branch
body: <p>I am trying to get git difference between master and feature branch but getting the error "command not found"  using below mentioned command:</p>
  
  <p>COMMIT_CHANGE_SET = sh(returnStdout: true, script: 'git diff --name-only origin/master...$current_branch').trim()</p>
  
  <p>As, I am able to get last commit changes using the below-mentioned command.</p>
  
  <p>COMMIT_CHANGE_SET = sh(returnStdout: true, script: 'git diff-tree --no-commit-id --name-only -r HEAD').trim()</p>
  
  <p>Jenkins pipeline git syntax command to get a difference master and feature branch</p>