Refactor zsh-git integration