Changed git-remote-name to work with references directly.

Removed git-upstream-name since this low-level and is the same as (git-name (git-upstream ...))
Minor formatting cleanup.