switch to someone elses branch git code example
Example: git checkout someone else's branch
git fetch origin
git checkout -b <name-your-branch> origin/<name-of-remote-branch>
git fetch origin
git checkout -b <name-your-branch> origin/<name-of-remote-branch>