December 2018
Beginner
826 pages
22h 54m
English
You might be wondering why you'd bother pushing to a remote branch if you're just going to locally merge your branch into master anyway.
The answer is simple: in most environments, you end up working with a lot of other people, and it's a good development tool to be able to show what you've changed and what you're working on. It also allows for things such as in-branch collaboration prior to merging, as anyone else is able to check out your branch for themselves.
It's also true that most people don't just use a Git server in their infrastructure, instead looking for solutions such as Gogs and GitLab, which are Git servers with added functionality (like user management).
You could also be thinking about the server, and appreciating ...