Thank you for this article, it was very helpful. I'd just complement that, if one wants to type only git pull, it may be necessary to set the upstream of the branch:
$ git branch --set-upstream-to=origin/main main
We're a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.