Improved the logic of choosing the original branch to compare with
--amend
Merge pull request #3 from paylogic/source-repo-original-branch

Improved the logic of choosing the original branch to compare with