Git BASH
Git for Windows
Memorandum
Initialise
git init

Configuration
git config --global user.name "Your name"
git config --global user.email "username@example.com"

git config --global gpg.program GPG_EXE e.g.,
git config --global gpg.program "C:/Users/username/AppData/Local/Programs/Git/usr/bin/gpg.exe"

Show the working tree status
git status

Show changes
git diff FILE e.g.,
git diff ./abc.txt

Add file contents to the index
git add .

Restore working tree files
git restore --staged .

Record changes to the repository
git commit -m "Message"

Show commit logs
git log --oneline
git log

Reference logs
git reflog

Version
git version

Update
git update-git-for-windows

References
https://git-scm.com/docs