       repo.createBranch name, head, true
     .then (reference) ->
       ref = reference
-      console.log "checkout #{ref}"
+      console.log "branch checkout #{ref}"
       repo.checkoutBranch ref
     .then ->
       resolve ref

        console.log "open #{repoPath}"
        Git.Repository.open repoPath
        .then (repo) ->
          console.log "fetch #{cloneOpts.fetchOpts}"
          repo.fetchAll cloneOpts.fetchOpts
          resolve repo
        .catch (err) ->

    repo = github.getRepo repoName
    repo.listPullRequests {state: 'open', head: "galtx-centex:#{head}"}
    .then (res) ->
      console.log "PR list #{res} #{res[0]?}"
      reject "PR testing"
    .catch (err) ->
      reject "PR #{err}"

