fix editor issue for git