jenkins Cloning a workspace in Jenkins with a Git SVM setup does not checkout the correct branch. Fix Jenkins cloning issues where Git repositories don't checkout the correct branch after job cloning. Solution: wipe the workspace to force a fresh git clone.