These are some things I find myself doing with git intermittently, but with such a low frequency that I haven't memorized them.
There are multiple ways to perform the actions outlined in this gist, but this is my preferred way of doing them 🤷♂️
# I want to work on a remote branch
git checkout master
git fetch
git checkout -b {local branch} origin/{branch} # Shorthand: git checkout -t <name of remote>/<name of branch>