git-nav-downstream takes the current branch and discovers all branches downstream of it. If there is only one branch downstream of the current branch, the command will check that out. If there's more than one downstream branch, the command will prompt you with a selection of the branches.
$ git map-branches origin/master cool_feature subfeature fixit frozen_branch $ git nav-downstream Previous HEAD position was beec6f4... Make ReflectorImpl use mailboxes Switched to branch 'cool_feature' Your branch is ahead of 'origin/master' by 4 commits. (use "git push" to publish your local commits) Please select a downstream branch 0. cool_feature 1. fixit Selection (0-1): 0 $ git map-branches origin/master cool_feature * subfeature fixit frozen_branch $ git nav-downstream Switched to branch 'subfeature' Your branch and 'cool_feature' have diverged, and have 2 and 1 different commit each, respectively. (use "git pull" to merge the remote branch into yours) $ git map-branches origin/master cool_feature subfeature * fixit frozen_branch
Some common short-hand aliases. Feel free to add these to your ~/.gitconfig file.
[alias] git down = nav-downstream