repo basics