I'd like to checkout to other branches by providing an index instead of the full branch name. I often have many branches open with long names, e.g.
issue-555-lorem-ipsum-dolor
issue-555-sit-amet-bar
issue-123-foo-bar
master
Currently, I'm just doing (with tab autocomplete):
git checkout issue-555-lorem-ipsum-dolor
Instead, I'd like to do something like (pseudo code):
git checkout [1]
Does git have anything similar right now? I had a look at the docs but didn't find anything similar. It would speed up my workflow a little bit.