Updated git implementation