Refactor git pull.
Return future with errors instead of throw in git fetch.
indent.
Merge pull request #2643 from dart-lang/refactor_pull

Refactor git pull