Github has the following recommendation for ~/.gitconfig
[alias] # Is this [-] only a comment in .gitconfig?
gb = git branch
gba = git branch -a
gc = git commit -v
gd = git diff | mate
gl = git pull
gp = git push
gst = git status
The above commands worked in my old Git. However, they do not work now for some unknown reason.
The problem seems not to be in the commands. It is perhaps in some Git's file which controls which file affects aliases.
How can you get the aliases to work?