`git --list-cmds=alias` is a builtin to do this, although the list-cmds option is listed as potentially likely to change.