Corrected sed and git command