Git commands I forget (every damn time)

There are a couple of git commands I always, always forget to run when I set up Git on a new machine, so I'm writing them out here as a reminder to myself.

Configuring global username and email settings

git config --global user.name "John Doe" 
git config --global user.email "john@doe.org"

Verify current settings

git config --list

Temporarily override authorship

git commit --author="John Doe <john@doe.org>"

Clone into a Git repo while simultaneously fetching all submodules

git clone --recursive <repository_url>