added git create instance method and created structs for instance response