Before you start the cherry-pick process, you can check if the commit you want to cherry-pick already exists in the target branch, in which case you don’t have to do anything.

git branch --contains <commit> lists local branches that contain the specified commit.

git branch -r --contains <commit> also includes remote tracking branches in the list.