just learning about the life-cycle of a file in git