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

Merged by openshift-bot