Expand git editor path