My company has a corporate github and every employee has a fork of it.
myCompany/mainRepo
so after forking it, I have harlinton/mainRepo and when I work on my feature, I make a pull request to merge it into myCompany/mainRepo.
A coworker and I are working on a feature and they already have a commit that I want to work off of but it's in their fork, otherCoworker/mainRepo. How can I pull that into my fork so that I have their commit and then continue off of that? I tried grabbing the hash and doing git checkout [hash id]
but expectedly, that reference doesn't exist since it's looking in my fork.