There are many ways of working with git; here are some posts on the
rules of thumb that other projects have come up with:
Linus Torvalds on linux git workflow . Summary; use the git tools
to make the history of your edits as clean as possible; merge from
upstream edits as little as possible in branches where you are doing
active development.
Manual pages online
You can get these on your own machine with (e.g) githelppush or
(same thing) gitpush--help, but, for convenience, here are the
online manual pages for some common commands: