In bash you can type:
cd -
to go back to your previous location.
How do I do this in Cmder?
In cmd you can use pushd
to change folders taking care of the history
pushd C:\some\path
And use popd
to return one step before
popd
In Cmder or any other cmd you can just use
cd..