git config --global branch.autosetuprebase always
git config --global merge.ff only
git checkout -b <branch>
git pull <remote> <branch>
[IF NEEDED] git rebase master
git checkout master
git merge <branch>
git config --global user.signingkey 0A46826A
On Windows and other platforms, consider setting the GPG executable path manually:
git config --global gpg.program /path/to/bin/gpg
git config --global commit.gpgsign true
git config --global tag.forceSignAnnotated true
Go to https://github.com/settings/keys then scroll down to "Add GPG key".