1/ Several basic commands will serve you a long way:
git clone
git add
git commit -m
git push
Those are enough to get you started. To be honest, those are still the most frequent commands I use.
2/ understand git and github. You use git to track files locally, and github can host your repos. You can start with the github skill page https://buff.ly/3tO2iaf
I had a lot of fun playing it.
Oh Shit, Git!?! You know, sometimes it messed up so much locally I just delete my local copy and do a fresh git clone :)
8/ https://buff.ly/2U9C8hC How to use git with R.
10/ if you collaborate with others, you need to understand the gihub flow
https://buff.ly/3CcvTio