It seems '}' must be escaped in aliases.
lr5 = log --decorate --reverse -5
null-merge = merge --strategy=ours
remotes = remote -v
- ri = "!sh -c 'git rebase --interactive --autosquash --preserve-merges ${1:-\"@{u}\"}' -"
- root = rev-parse --show-toplevel
+ ri = "!sh -c 'git rebase --interactive --autosquash --preserve-merges ${1:-\"@{u\\}\"}' -"
#root = !pwd
+ root = rev-parse --show-toplevel
st = status --short
stb = status --short --branch
tags = tag -l