fzf
is a fast cli finder tool. The fzf
command will launch an interactive find session. You can type a path to a file and see a list of possible results.
Piping the output of commands (such as git branch) to fzf
makes it easy to find the line you are looking for.