Fixed lines bug and added git features