I sometimes use the checkout -b option to create a new branch, check it out at the same time and set up tracking in one command.
checkout -b
In a new environment, I
FWIW: If you have a typo in your branchname you'll get this same error.