Figuring out git mechanics