The common mistake I make in git is
Checkout the wrong branch where the commit is
git checkout wrong_branch
In the wrong branch, reset to the previous commit:
git reset --hard HEAD^
NOTE: the ^ operator indicating the previous commit, to remove multiple commits use ~N where N is the number of commits
Checkout to the branch where the commit should be
git checkout right_branch
Re-apply the commit using cherry-pick
git cherry-pick wrong_branch@{1}
NOTE: wrong_branch@{1} is the last commit of wrong_branch before the git reset command was executed, for example, HEAD@{2} could be used too in this case
To move multiple commits you could use multiple calls to git cherry-pick or only one execution of git rebase:
git rebase --onto right_branch wrong_branch@{1}~N wrong_branch@{1}
(and the corresponding parameter to reset will be HEAD~N in this case)