I have just tried to setup edit to be the default editor for git using the following command:
git config --global core.editor "edit"
And while this seems to be working great, there is a strange artifact on the screen that I wanted to highlight.
When I run edit normally, this is what I see:

But when I run edit as part of adding a commit message, for example, this is what I am seeing:

What is the red/brown colour on the right hand side?
I have also see edit fail to open correctly when it is being opened by git. It appears to hang, and the file doesn't seem to be shown until I mouse my mouse and click into the file. Is this a known issue?