I find myself reaching for forked repos more often than direct clones these days, however I always inevitably need to find a way to update my fork based on the original repo. I usually google the answer and find a helpful stack overflow that has the code that I need.
I figured I'd re-share that here both as a personal reference to the snippet of code and if others want to find it as well.