Pull Requests in
Visual Studio Online are great way to perform
code reviews. But if you like reviewing code in your favorite editor,
instead of on the web, they can be frustrating. Fortunately, you can set
up git to fetch pull requests from Visual Studio Online.

Visual Studio Online creates branches for pull requests in the refs/pull/*
namespace, which is not fetched in a default configuration. To set up
your git client to fetch them, simply run: