class Repo < ApplicationRecord
  belongs_to :user
  has_many :branches
end

class Repo < ApplicationRecord
  belongs_to :user
  has_many :branches

  def url
    "https://github.com/#{owner}/#{name}"
  end

end

Add url to Repo model
Add url to Repo model
