Its not a secret that terminals (zsh) has very useful thing called aliases.
I really love it and now I have a lot of alises (thanks to plugins).
$ alias | wc -l
So to find useful aliases I use commands like this:
$ alias G checkout
gcb='git checkout -b'
gcd='git checkout develop'
gch='git checkout hotfix'
gcm='git checkout $(git_main_branch)'
gcr='git checkout release'
$ alias "G"
But sometimes i want to see the full command behind the alias. Its called expanding.
So when I typing "gco" and then Ctrl+X A, zsh changes my cmd to "git checkout".
You can see the bindings here:
$ bindkey G expand