shell-init

Emits a shell function and completions for bash and zsh. The function moves you into a clone as it is made and adds `gitto cd`:

eval "$(gitto shell-init)"

Emits a shell function and completions for bash and zsh. The function moves you into a clone as it is made and adds gitto cd:

gitto new auth-fix        # makes it and takes you there
gitto cd search-ranking   # moves between clones
gitto cd                  # lists them

A child process cannot change the directory of the shell that started it, which is why moving into a new clone needs a function rather than a command.