# Use <yourInitials>/branch-name to organize your branches
git checkout -b my/new-branch
git push origin my/new-branch
# List all branches
git branch -a
git switch my/branch1
git diff my/branch1..my/branch2
# List file names only
git diff my/branch1..my/branch2 --name-only
git diff my/branch2 master -- path/to/file/to/compare
git checkout my/branch1
git checkout my/branch2 path/to/file1
# Undo all modified files in current dir
git checkout -- .
git checkout -b <your-branch> <sha>
Azure