move git-plugin specific checkout logic (delete local branch then re-create) into GitSCM