fixed end_line for git