git checkout -b otherrepo-master master
git pull https://github.com/otherrepo/my-repo-name.git master
git checkout master
The hash uniquely defines the commit - regardless of the branch it is in.
git cherry-pick abc0123
git log
git branch -D otherrepo-master
git push origin master