git-nav-upstream takes the current branch, finds it's upstream branch, and checks that out.
$ git map-branches origin/master cool_feature subfeature * fixit frozen_branch $ git nav-upstream Switched to branch 'cool_feature' Your branch is ahead of 'origin/master' by 4 commits. (use "git push" to publish your local commits) $ git map-branches origin/master cool_feature * subfeature fixit frozen_branch $ git nav-upstream Note: checking out 'origin/master'. You are in 'detached HEAD' state. You can look around, make experimental <1> changes and commit them, and you can discard any commits you make in this state without impacting any branches by performing another checkout. If you want to create a new branch to retain commits you create, you may do so (now or later) by using -b with the checkout command again. Example: git checkout -b <new-branch-name> HEAD is now at beec6f4... Make ReflectorImpl use mailboxes $ 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 up = nav-upstream