Fix git excludesfile setting; set editor
Fix set-ssh-agent, update cache upon login success