In this publication titled git checkout upstream branch file, I have provided a complete image from start to finish ,Please look below