<div dir="ltr"><div>To avoid having to type the branch name when pushing changes to your fork on Github I would recommend setting push.default to "current". You can then just push with "git push origin" (no branch name required).</div>
<div><br></div><div>Git v1's default push behaviour if you don't specify the branch name is to push all branches where the local branch name matches the remote branch name. This might be more than you really want to push. Using a push.default of "current" gives both convenience and safety.</div>
<div><br></div>There's a good explanation here: <a href="http://stackoverflow.com/a/948397">http://stackoverflow.com/a/948397</a></div>