Set upstream on clone
Add tests
Merge pull request #527 from liggitt/git_pull

Merged by openshift-bot
Should only wrap when STDOUT is a tty, not STDIN
Merge pull request #528 from smarterclayton/wrap_only_when_stdout_tty

Merged by openshift-bot