For cli calls, I have been using a handy website called cheat.sh

Basically, just go to cheat.sh/git and you get a list of useful examples for how to use the git command.

I have it mapped to a small bash function so that I can just type ‘cheat git’ and I get the content right in my terminal.