NDP Software has produced a fantastic interactive cheat sheet for git commands, visualising the various repository components, stash, workspace, index (staging area), local repository, and remote repository, and how the commands interact between the various components.

Visit the link to give it a go.