Error-
It looks like you are trying to checkout into a branch with -b parameter, which will force to create new branch and checkout.
For an example,
git checkout -b my_branch
If your command is similar to above one, and you have already created the branch my_branch, you will probably get this error.
Solution-
Don’t specify -b parameter when you need to checkout an existing branch
git checkout my_branch