Usually that message means that one or more of the names that you referenced in the 'git log' command is not defined in the workspace where the job is running. For example, a Jenkins workspace checkout as created by the git plugin ny has no named branches. It uses a "detached HEAD" rather than a branch name checkout by default. If you want to checkout with a named branch, you need to enable the '
You can check that case in the workspace with the command:
$ git branch
It will probably show that either there is no branch named "master" in that workspace or no branch named "hotfix/SFCC.1.11.0".