understanding repo