All shells understand these commands:
$ cd .
$ cd ..
And zsh will also understand:
$ cd ...
$ cd ....
Provide
A good option is manydots-magic, which expands ... into ../.., etc. but does it intelligently. See the link above for more details, but briefly:
../..cd a/b/..../y/z.git log branch...git diff ... -> git diff ../..git diff ...b -> git diff ...b (for git diff ...branch)