* only try to get HeadBranch if HeadRepo exist * impruve * no nil error * add TEST * correct error msg
* Move pull request api convert to convert package * Rename ToPullRequest to ToAPIPullRequest