Maybe we should get rid of the `branch_type` arg and call just `git_reference_is_remote` in `Branch.lookup`?