added git graph function