modified file_to_git