Put `local var` declaration in its own line in lib/git.zsh
Put `local var` declaration in its own line in lib/git.zsh

In places, the local statement will override the exit code and the written
command won't have the effect intended when it was written.

For example, when it's not inside a git repo the exit code won't be true,
but the local statement will make it true regardless. See #4708.

xluoly/oh-my-zsh,xluoly/oh-my-zsh,xluoly/oh-my-zsh,xluoly/oh-my-zsh