I think that git switch -c could tell you not only that you already created the branch, but you already switched to it!
% git switch -c branch1 % git switch -c branch1 fatal: A branch named 'branch1' already exists, and you are already on it
-- Ed Avis <ed.avis@qmaw.com>