Git Upstream Demystified — --set-upstream, Aliases, and Shell Functions

Posted on Wed 15 April 2026 in DevTools • Tagged with git, terminal, shell, zsh, productivity

If you've ever wondered what --set-upstream really means in Git — or why it isn't just called --set-remote — this post breaks it down, along with practical tricks to explore Git options faster.

Core Concepts

--set-upstream vs --set-remote — "remote" in Git already refers to the server (like origin), so naming it --set-remote …


Continue reading