fixed error in code. also testing gitg