Simultaneously Pushing to Two Remotes in a Git Repository

Sometimes you need to push commits to two remotes in a git repository—either for a cheap “backup” of sorts, or for some public / private repository scheme you may have in your organization, etc. Let’s say you have a repository hosted on GitHub and BitBucket (hey, GitHub is king today, but you never know!). You […]