Speed + spacing

-Fix spacing issue in _git_remote_status
-Call ${ref/refs\/heads\/} once only