Git cheat sheet
My most often forgotten git commands: listing remote branches, cloning with submodules, unshallowing a clone and merging a remote branch into local.
A list of Git commands I can refer to for future use.
See remote branches
git branch -r
Clone remote with submodule
git clone <url> --recursive
Removing a shallow git clone
git fetch --unshallow
Merging remote branch with local
git merge origin/<branchname>