Overview

This is intended to be a Git quick bites reference. The commands found in this document are commonly used commands for code and repository management. For more detailed explanations and command options please reference Git Docs.

Git Commands

git add

git branch

git clone

git commit

git config

git checkout

git fetch

git merge

git pull

git push

git stash

# could be considered advanced

Other Commands

Common Command Sequence

# when working with multiple branches

git fetch --all && git branch -a && git checkout -t origin/<branch_name>